Skip to content

Commit

Permalink
Fix bug when working directory is None
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Apr 26, 2024
1 parent e84fbd6 commit ba3e69d
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 ba3e69d

Please sign in to comment.