Skip to content

Commit

Permalink
[build] Added more debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Aug 29, 2023
1 parent b40c60c commit e68ae20
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,7 @@ def db_get_files(
for i1, i2, i3 in self.db_get_files_episodes():
yield i1, i2, i3, False
elif self.type == "radarr":
self.logger.debug("Getting radarr files")
for i1, i2, i3 in self.db_get_files_movies():
yield i1, i2, i3, False

Expand Down Expand Up @@ -1176,6 +1177,9 @@ def db_get_files_movies(
else:
condition &= self.model_file.Searched == False
condition &= self.model_file.MovieFileId == 0
entries = self.model_file.select().count()
conditioned = self.model_file.select().where(condition).count()
self.logger.debug("Found %s entries, %s conditioned", entries, conditioned)
for entry in (
self.model_file.select()
.where(condition)
Expand Down

0 comments on commit e68ae20

Please sign in to comment.