FIX CRITICAL: reload job dict after find_chorus update so reframe gets new start/duration values
This commit is contained in:
parent
15ef4888a1
commit
d36893bf2d
@ -179,6 +179,8 @@ def process_job(job_id):
|
|||||||
start=best["start"],
|
start=best["start"],
|
||||||
duration=best["duration"],
|
duration=best["duration"],
|
||||||
)
|
)
|
||||||
|
# KLJUČNO: reload local job dict, da nove vrednosti pridejo v reframe call
|
||||||
|
job = load_job(job_id)
|
||||||
except json.JSONDecodeError:
|
except json.JSONDecodeError:
|
||||||
update_job(job_id, chorus_error="JSON decode failed")
|
update_job(job_id, chorus_error="JSON decode failed")
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user