From e6cbd51550e70ce52bd6004527c0da51f2bb6cd0 Mon Sep 17 00:00:00 2001 From: Feramance Date: Thu, 16 Nov 2023 08:57:16 +0100 Subject: [PATCH] Quality unmet fix --- qBitrr/arss.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index fff920cf..7af9efc9 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -1873,11 +1873,7 @@ def db_update_single_series( completed = True QualityUnmet = EpisodeMetadata.get("qualityCutoffNotMet") - if ( - db_entry.EpisodeFileId != 0 - and QualityUnmet - and not self.quality_unmet_search - ): + if db_entry.EpisodeFileId != 0 and not self.quality_unmet_search: searched = True self.model_queue.update(Completed=True).where( self.model_queue.EntryId == db_entry.Id @@ -2049,7 +2045,7 @@ def db_update_single_series( ): completed = True QualityUnmet = movieData.get("qualityCutoffNotMet") - if db_entry.MovieFileId != 0 and QualityUnmet and not self.quality_unmet_search: + if db_entry.MovieFileId != 0 and not self.quality_unmet_search: searched = True self.model_queue.update(Completed=True).where( self.model_queue.EntryId == db_entry.Id @@ -2070,7 +2066,7 @@ def db_update_single_series( year = movieMetadata.Year entryId = db_entry.Id movieFileId = db_entry.MovieFileId - qualityMet = db_entry.MovieFileId != 0 and not QualityUnmet + qualityMet = QualityUnmet self.logger.trace("Updating database entry | %s (%s)", title, tmdbId) to_update = {