Skip to content

Commit

Permalink
Merge pull request #288 from pyiron/working-directory-none
Browse files Browse the repository at this point in the history
Fix bug when working directory is None
  • Loading branch information
jan-janssen committed Apr 26, 2024
2 parents 5a81da1 + ba3e69d commit 9ac77bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysqa/utils/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def submit_job(
Returns:
int:
"""
if " " in working_directory:
if working_directory is not None and " " in working_directory:
raise ValueError(
"Whitespaces in the working_directory name are not supported!"
)
Expand Down

0 comments on commit 9ac77bd

Please sign in to comment.