fix: [retro_hunt] delete paused retro_hunt

dev
terrtia 2024-02-15 11:42:10 +01:00
parent 7d42315419
commit 48ce4a76a4
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -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