FIX CRITICAL: reload job dict after find_chorus update so reframe gets new start/duration values
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user