Skip to content

Commit

Permalink
[patch] Season statistics error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Aug 23, 2024
1 parent 3aaf7ea commit 3640ccf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -2524,13 +2524,13 @@ def db_update_single_series(
if sdict.get("seasonNumber") == 0:
statistics = sdict.get("statistics")
monitoredEpisodeCount = monitoredEpisodeCount + statistics.get(
"episodeCount"
"episodeCount", 0
)
totalEpisodeCount = totalEpisodeCount + statistics.get(
"totalEpisodeCount"
"totalEpisodeCount", 0
)
episodeFileCount = episodeFileCount + statistics.get(
"episodeFileCount"
"episodeFileCount", 0
)
else:
statistics = sdict.get("statistics")
Expand Down

0 comments on commit 3640ccf

Please sign in to comment.