Skip to content

Commit

Permalink
pep8
Browse files Browse the repository at this point in the history
  • Loading branch information
FusRoman committed Nov 29, 2023
1 parent 2cdb410 commit 2364bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fink_fat/orbit_fitting/orbfit_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def generate_logs(
):
err_type = (
f"timeout exceeded: {run_exception.timeout} seconds"
if type(run_exception) == subprocess.TimeoutExpired
if isinstance(type(run_exception), subprocess.TimeoutExpired)
else f"return code: {run_exception.returncode}"
)
str_err = f"""
Expand Down

0 comments on commit 2364bd0

Please sign in to comment.