Skip to content
Snippets Groups Projects
Commit bcfac185 authored by Alex Wiens's avatar Alex Wiens
Browse files

Prule.daemon: Fix startTime type

parent cbfed2ca
No related branches found
No related tags found
No related merge requests found
......@@ -728,7 +728,7 @@ class PruleThread(threading.Thread):
job_cluster = job_meta["cluster"]
job_id = str(job_meta["id"])
job_slurmid = str(job_meta["jobId"])
job_startTime = str(job_meta["startTime"]) if type(job_meta["startTime"]) == int else int(datetime.datetime.fromisoformat(job_meta['startTime']).timestamp())
job_startTime = str(job_meta["startTime"]) if type(job_meta["startTime"]) == int else str(int(datetime.datetime.fromisoformat(job_meta['startTime']).timestamp()))
job_path = None
job_tempdir = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment