Sonarr: Show tags in log only when matched to a network.

pull/105/head
desimaniac 5 years ago
parent 44fb9a2fc7
commit f0657a8fdf

@ -237,7 +237,7 @@ def show(show_id, folder=None, no_search=False):
use_tags, use_tags,
not no_search, not no_search,
series_type): 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, log.info("ADDED: \'%s (%s)\' with Sonarr Tags: %s", series_title, series_year,
readable_tags) readable_tags)
else: else:
@ -509,7 +509,7 @@ def shows(list_type, add_limit=0, add_delay=2.5, sort='votes', genre=None, folde
use_tags, use_tags,
not no_search, not no_search,
series_type): 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, log.info("ADDED: \'%s (%s)\' with Sonarr Tags: %s", series_title, series_year,
readable_tags) readable_tags)
else: else:

Loading…
Cancel
Save