Skip to content

Commit

Permalink
[build] Added more debugs and altered search update for series
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Nov 1, 2023
1 parent 7b6f8a1 commit 3dc7325
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,7 @@ def db_get_files_series(
) | self.model_file.SceneAbsoluteEpisodeNumber.is_null(False)
for i1, i2, i3 in self._search_todays(condition):
if i1 is not None:
self.logger.debug("Searching todays %s", i1.Title)
yield i1, i2, i3
if not self.do_upgrade_search:
condition = self.series_file_model.Searched == False
Expand Down Expand Up @@ -1977,8 +1978,8 @@ def db_update_single_series(
self.series_file_model.Monitored: Monitored,
self.series_file_model.Title: Title,
}
if searched:
to_update[self.series_file_model.Searched] = searched

to_update[self.series_file_model.Searched] = searched

db_commands = self.series_file_model.insert(
EntryId=EntryId,
Expand Down

0 comments on commit 3dc7325

Please sign in to comment.