mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 00:28:22 +00:00
fix: [retro_hunt] delete paused retro_hunt
This commit is contained in:
parent
7d42315419
commit
48ce4a76a4
1 changed files with 1 additions and 1 deletions
|
@ -1530,7 +1530,7 @@ class RetroHunt:
|
|||
self._set_state(state)
|
||||
|
||||
def delete(self):
|
||||
if self.is_running() and self.get_state() != 'completed':
|
||||
if self.is_running() and self.get_state() not in ['completed', 'paused']:
|
||||
return None
|
||||
|
||||
# Delete custom rule
|
||||
|
|
Loading…
Reference in a new issue