Commit 692031b2 authored by MERCIER Michael's avatar MERCIER Michael

[sched] Bebida get profile for all profiles on kill

parent d7c622ad
......@@ -511,8 +511,10 @@ class SchedBebida(BatsimScheduler):
# only recreate a profile if it has started
if curr_task_progress != 0:
# Now let's modify the current internal profile to reflect progress
curr_task_profile = profile[old_job.profile]["seq"][
progress["current_task"]
curr_task_profile = self.bs.profiles[
self.bs.profiles[old_job.profile]["seq"][
progress["current_task"]
]
]
assert (
curr_task_profile["type"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment