From 4ac7c016e7470b168005d0f468535ab4a0abb67e Mon Sep 17 00:00:00 2001 From: Feramance Date: Wed, 4 Dec 2024 17:00:24 +0100 Subject: [PATCH] [patch] Hotfix backwards compatibility for temp profile configs --- qBitrr/arss.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qBitrr/arss.py b/qBitrr/arss.py index 84f63ac..596260f 100755 --- a/qBitrr/arss.py +++ b/qBitrr/arss.py @@ -356,9 +356,13 @@ def __init__( self.main_quality_profiles = CONFIG.get( f"{self._name}.EntrySearch.MainQualityProfile", fallback=None ) + if isinstance(self.main_quality_profile, str): + self.main_quality_profile = [self.main_quality_profile] self.temp_quality_profiles = CONFIG.get( f"{self._name}.EntrySearch.TempQualityProfile", fallback=None ) + if isinstance(self.temp_quality_profile, str): + self.temp_quality_profile = [self.temp_quality_profile] if self.use_temp_for_missing: self.temp_quality_profile_ids = self.parse_quality_profiles()