Skip to content

Commit

Permalink
Changed loop restart for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Nov 15, 2023
1 parent 4f24ebd commit b5495aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5495aa

Please sign in to comment.