From 75eed3968f0267dff1e55cee7ea09cc3d82b83ed Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Tue, 16 Feb 2021 09:56:15 -0500 Subject: [PATCH] forgot a : --- modules/radarr.py | 2 +- modules/sonarr.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: