Skip to content

Commit

Permalink
[build] Undo search test
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Oct 27, 2023
1 parent fd77885 commit 4bf5fec
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1201,12 +1201,6 @@ def db_reset__movie_searched_state(self):
Ids = [id.Id for id in self.model_arr_file.select().execute()]
self.model_file.delete().where(self.model_file.EntryId.not_in(Ids)).execute()

def db_reset_arr_search_commands(self):
self.model_arr_command.delete().where(
self.model_arr_command.EndedAt.is_null(True)
& self.model_arr_command.Name.endswith("Search")
).execute()

def db_get_files_series(
self,
) -> Iterable[tuple[SeriesFilesModel, bool, bool]]:
Expand Down Expand Up @@ -3743,7 +3737,6 @@ def run_search_loop(self) -> NoReturn:
loop_timer = timedelta(minutes=15)
timer = datetime.now()
years_index = 0
self.db_reset_arr_search_commands()
while True:
if self.loop_completed:
years_index = 0
Expand Down

0 comments on commit 4bf5fec

Please sign in to comment.