Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Jan 24, 2024
1 parent dc55702 commit 641f788
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nmpi/nmpi_saga.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ def update_job(self, job):
job_copy.pop("timestamp_started", None)
response = self._put(f"{self.job_server}{job['resource_uri']}", job_copy)
response2 = self._put(f"{self.job_server}{job['resource_uri']}/log", log, format="text")
response["log"] = log
return response

def reset_job(self, job):
Expand Down Expand Up @@ -545,7 +544,7 @@ def main():
for job in jobs:
print(f"{job['id']} ({job['user_id']}): {job['status']}")
except Exception as err:
traceback.print_exception(err)
traceback.print_exc()
return 1
else:
return 0
Expand Down

0 comments on commit 641f788

Please sign in to comment.