Skip to content

Commit

Permalink
fix: [retro_hunt] delete paused retro_hunt
Browse files Browse the repository at this point in the history
  • Loading branch information
Terrtia committed Feb 15, 2024
1 parent 7d42315 commit 48ce4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/lib/Tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -1530,7 +1530,7 @@ def create(self, name, rule, creator, description=None, filters=[], mails=[], ta
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
Expand Down

0 comments on commit 48ce4a7

Please sign in to comment.