Skip to content

Commit

Permalink
[patch] Adjust search loop when using search by year
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Sep 27, 2024
1 parent fb5ff20 commit 076901c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -4883,6 +4883,7 @@ def run_search_loop(self) -> NoReturn:
self.search_current_year = years[years_index]
elif datetime.now() >= (timer + loop_timer):
self.refresh_download_queue()
time.sleep(((timer + loop_timer) - datetime.now()).total_seconds())
raise RestartLoopException
elif datetime.now() >= (timer + loop_timer):
self.refresh_download_queue()
Expand Down

0 comments on commit 076901c

Please sign in to comment.