Skip to content

Commit

Permalink
Changed missed search changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Nov 16, 2023
1 parent 497ab2b commit 46735fc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -2295,9 +2295,9 @@ def maybe_do_search(
file_model.EntryId,
file_model.AirDateUtc,
)
file_model.Searched = True
file_model.Upgrade = True
file_model.save(True)
self.model_file.update(Searched=True, Upgrade=True).where(
self.model_file.EntryId == file_model.EntryId
).execute()
return True
active_commands = self.arr_db_query_commands_count()
self.logger.debug(
Expand Down Expand Up @@ -2419,9 +2419,9 @@ def maybe_do_search(
file_model.TmdbId,
file_model.EntryId,
)
file_model.Searched = True
file_model.Upgrade = True
file_model.save(True)
self.model_file.update(Searched=True, Upgrade=True).where(
self.model_file.EntryId == file_model.EntryId
).execute()
return True
active_commands = self.arr_db_query_commands_count()
self.logger.debug(
Expand Down

0 comments on commit 46735fc

Please sign in to comment.