From 4bf5fec5b83292a5c930a3d0418c31b1828882b2 Mon Sep 17 00:00:00 2001 From: Feramance Date: Fri, 27 Oct 2023 13:57:26 +0200 Subject: [PATCH] [build] Undo search test --- qBitrr/arss.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index 1830dfc3..b2cacc91 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -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]]: @@ -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