mirror of https://github.com/CIRCL/AIL-framework
fix: [retro_hunt] delete paused retro_hunt
parent
7d42315419
commit
48ce4a76a4
|
@ -1530,7 +1530,7 @@ class RetroHunt:
|
||||||
self._set_state(state)
|
self._set_state(state)
|
||||||
|
|
||||||
def delete(self):
|
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
|
return None
|
||||||
|
|
||||||
# Delete custom rule
|
# Delete custom rule
|
||||||
|
|
Loading…
Reference in New Issue