From b5495aa7ff487cb910caa1ac92dea57ecbffddfd Mon Sep 17 00:00:00 2001 From: Feramance Date: Wed, 15 Nov 2023 19:06:19 +0100 Subject: [PATCH] Changed loop restart for testing --- qBitrr/arss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index 29b4a43d..278ce082 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -3812,13 +3812,13 @@ def run_search_loop(self) -> NoReturn: self.search_current_year = years[years_index] elif ( datetime.now() >= (timer + loop_timer) - ) or self.arr_db_query_commands_count == 0: + ) and self.arr_db_query_commands_count == 0: self.refresh_download_queue() self.force_grab() raise RestartLoopException elif ( datetime.now() >= (timer + loop_timer) - ) or self.arr_db_query_commands_count == 0: + ) and self.arr_db_query_commands_count == 0: self.refresh_download_queue() self.force_grab() raise RestartLoopException