Skip to content

Commit

Permalink
Update cylc/flow/scheduler.py
Browse files Browse the repository at this point in the history
Co-authored-by: Ronnie Dutta <[email protected]>
  • Loading branch information
wxtim and MetRonnie authored Nov 14, 2024
1 parent 8f992e1 commit 97b7a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cylc/flow/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1264,7 +1264,7 @@ def run_event_handlers(self, event, reason=""):
Run workflow events only in live mode or skip mode.
"""
if self.get_run_mode().value in WORKFLOW_ONLY_MODES:
if self.get_run_mode() in {RunMode.SIMULATION, RunMode.DUMMY}:
return
self.workflow_event_handler.handle(self, event, str(reason))

Expand Down

0 comments on commit 97b7a71

Please sign in to comment.