Skip to content

Commit

Permalink
fixing cancel
Browse files Browse the repository at this point in the history
  • Loading branch information
tginsbu1 committed Sep 23, 2024
1 parent a9bff4d commit 1667957
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/wei/modules/rest_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,6 @@ def decorator(function):
@staticmethod
def _cancel(state: State):
"""Handles cancelling any running actions on the module. This should be overridden by the developer to provide custom behavior."""
state.status[ModuleStatus.READY] = False
state.status[ModuleStatus.PAUSED] = True
return {"message": "Module actions canceled"}

Expand Down

0 comments on commit 1667957

Please sign in to comment.