Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
abejgonzalez committed Feb 27, 2024
1 parent 2a23a7b commit 95cf53a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wlutil/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def launchWorkload(baseConfig, jobs=None, spike=False, silent=False):
try:
with open(uartlog, 'r') as f:
last_line = f.readlines()[-1]
if not 'COMMAND_EXIT_CODE="0"' in last_line:
if 'COMMAND_EXIT_CODE="0"' not in last_line:
raise RuntimeError("One (or more) job(s) returned a non-zero error code. Please check output.")
except FileNotFoundError:
raise RuntimeError(f"Unable to check output of job with {uartlog} uartlog.")
Expand Down

0 comments on commit 95cf53a

Please sign in to comment.