From 3640ccf3f58a52e47c33d88d2a5b82209b2f7bcb Mon Sep 17 00:00:00 2001 From: Feramance Date: Fri, 23 Aug 2024 15:52:25 +0200 Subject: [PATCH] [patch] Season statistics error fix --- qBitrr/arss.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index f89a18f9..57a66495 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -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")