Commit 05a6b8b8 authored by MERCIER Michael's avatar MERCIER Michael

[sched] Remove the profile error (for real this time!!!)

parent 692031b2
......@@ -511,10 +511,8 @@ 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 = self.bs.profiles[
self.bs.profiles[old_job.profile]["seq"][
progress["current_task"]
]
curr_task_profile = self.bs.profiles[old_job.workload][
progress["current_task"]["profile_name"]
]
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