Skip to content

Commit

Permalink
Update cylc/flow/task_state.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Sep 19, 2024
1 parent 07501b7 commit 339367f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cylc/flow/task_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def describe(self):
@staticmethod
def get(options: 'Values') -> str:
"""Return the workflow run mode from the options."""
return getattr(options, 'run_mode', None) or RunMode.LIVE.value
return RunMode.LIVE.value

@staticmethod
def disable_task_event_handlers(itask):
Expand Down

0 comments on commit 339367f

Please sign in to comment.