pull/35/head
meisnate12 4 years ago
parent 41c607dca2
commit 75eed3968f

@ -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:

@ -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:

Loading…
Cancel
Save