diff --git a/modules/radarr.py b/modules/radarr.py index 270fc231..78ae056a 100644 --- a/modules/radarr.py +++ b/modules/radarr.py @@ -53,7 +53,7 @@ class RadarrAPI: for t in self.send_get("{}tag".format(self.base_url)).json(): tag_cache[t["label"]] = t["id"] for label in tag: - if label in tag_cache + if label in tag_cache: tag_nums.append(tag_cache[label]) for tmdb_id in tmdb_ids: try: diff --git a/modules/sonarr.py b/modules/sonarr.py index fd4d6ba0..e0bc19e4 100644 --- a/modules/sonarr.py +++ b/modules/sonarr.py @@ -54,7 +54,7 @@ class SonarrAPI: for t in self.send_get("{}tag".format(self.base_url)).json(): tag_cache[t["label"]] = t["id"] for label in tag: - if label in tag_cache + if label in tag_cache: tag_nums.append(tag_cache[label]) for tvdb_id in tvdb_ids: try: