Skip to content

Commit

Permalink
fix : scheduler error post task pre task insertion
Browse files Browse the repository at this point in the history
  • Loading branch information
pur1fying committed Oct 13, 2024
1 parent 0263d9e commit c73e5b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ def update_valid_task_queue(self):
}
temp = []
for j in range(0, len(_valid_event[i]["pre_task"])):
if self.event_map[_valid_event[i]['pre_task'][j]] not in self.funcs:
if _valid_event[i]['pre_task'][j] not in self.funcs:
continue
temp.append(_valid_event[i]['pre_task'][j])
thisTask["pre_task"] = temp
temp = []
for j in range(0, len(_valid_event[i]["post_task"])):
if self.event_map[_valid_event[i]["post_task"][j]] not in self.funcs:
if _valid_event[i]["post_task"][j] not in self.funcs:
continue
temp.append(_valid_event[i]["post_task"][j])
thisTask["post_task"] = temp
Expand Down

0 comments on commit c73e5b0

Please sign in to comment.