From 48ce4a76a4739078509e6addd60f72c76b974563 Mon Sep 17 00:00:00 2001 From: terrtia Date: Thu, 15 Feb 2024 11:42:10 +0100 Subject: [PATCH] fix: [retro_hunt] delete paused retro_hunt --- bin/lib/Tracker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lib/Tracker.py b/bin/lib/Tracker.py index beb7aacc..b1f2e218 100755 --- a/bin/lib/Tracker.py +++ b/bin/lib/Tracker.py @@ -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