Skip to content

Commit

Permalink
Fix code can be one
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Dec 2, 2024
1 parent 2a098bb commit 8d5b0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tilecloud_chain/store/postgresql.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def _start_job(
main(final_command, out)
_LOGGER.info("Successfully ran the command `%s` using the function directly", display_command)
except SystemExit as exception:
if exception.code != 0:
if exception.code is not None and exception.code != 0:
_LOGGER.exception("Error while running the command `%s`", display_command)
error = True
except Exception: # pylint: disable=broad-exception-caught
Expand Down

0 comments on commit 8d5b0dc

Please sign in to comment.