Skip to content

Commit

Permalink
[build] Update conditions for debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Aug 29, 2023
1 parent 0331ae3 commit 6fda9c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,11 @@ def db_get_files_movies(
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)
self.logger.debug(
"Found %s entries, %s conditioned",
entries if entries.exists() else 0,
conditioned if conditioned.exists() else 0,
)
for entry in (
self.model_file.select()
.where(condition)
Expand Down

0 comments on commit 6fda9c7

Please sign in to comment.