From f0657a8fdf12e78de420a86f743a70e2842e0b3a Mon Sep 17 00:00:00 2001 From: desimaniac <5501908+desimaniac@users.noreply.github.com> Date: Sat, 28 Sep 2019 18:42:30 -0500 Subject: [PATCH] Sonarr: Show tags in log only when matched to a network. --- traktarr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/traktarr.py b/traktarr.py index 80a92db..a81ce0f 100755 --- a/traktarr.py +++ b/traktarr.py @@ -237,7 +237,7 @@ def show(show_id, folder=None, no_search=False): use_tags, not no_search, series_type): - if profile_tags is not None: + if profile_tags is not None and readable_tags is not None: log.info("ADDED: \'%s (%s)\' with Sonarr Tags: %s", series_title, series_year, readable_tags) else: @@ -509,7 +509,7 @@ def shows(list_type, add_limit=0, add_delay=2.5, sort='votes', genre=None, folde use_tags, not no_search, series_type): - if profile_tags is not None: + if profile_tags is not None and readable_tags is not None: log.info("ADDED: \'%s (%s)\' with Sonarr Tags: %s", series_title, series_year, readable_tags) else: