Skip to content

Commit

Permalink
One-liner mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinBabe committed Feb 12, 2024
1 parent eff07d2 commit 16c9e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openeo_gfmap/manager/job_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def on_job_error(self, job: BatchJob, row: pd.Series):
)
output_log_path.parent.mkdir(parents=True, exist_ok=True)

if len(error_logs > 0):
if len(error_logs) > 0:
output_log_path.write_text(json.dumps(error_logs, indent=2))
else:
output_log_path.write_text(
Expand Down

0 comments on commit 16c9e20

Please sign in to comment.