Skip to content

Commit

Permalink
Error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Nov 18, 2023
1 parent 564222e commit d2d65fa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions qBitrr/arss.py
Original file line number Diff line number Diff line change
Expand Up @@ -1994,12 +1994,14 @@ def db_update_single_series(
statistics = seriesMetadata.get("statistics")
if statistics:
if self.search_specials:
episode_count = statistics.get("statistics").get(
episode_count = seriesMetadata.get("statistics").get(
"totalEpisodeCount"
)
else:
episode_count = statistics.get("statistics").get("episodeCount")
searched = episode_count == statistics.get("statistics").get(
episode_count = seriesMetadata.get("statistics").get(
"episodeCount"
)
searched = episode_count == seriesMetadata.get("statistics").get(
"episodeFileCount"
)
else:
Expand Down

0 comments on commit d2d65fa

Please sign in to comment.