From c65d3744524151d55a79ec74c10bf66243628a41 Mon Sep 17 00:00:00 2001 From: l3uddz Date: Sun, 18 Mar 2018 23:33:22 +0000 Subject: [PATCH] show supplied genre as lowercase --- traktarr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/traktarr.py b/traktarr.py index 6ad3108..536ab0b 100644 --- a/traktarr.py +++ b/traktarr.py @@ -147,7 +147,7 @@ def shows(list_type, add_limit=0, add_delay=2.5, genre=None, no_search=False, no try: # check if genre matches genre supplied via argument if genre and genre.lower() not in series['show']['genres']: - log.debug("Skipping: %s because it was not from %s genre", series['show']['title'], genre) + log.debug("Skipping: %s because it was not from %s genre", series['show']['title'], genre.lower()) continue # check if series passes out blacklist criteria inspection @@ -300,7 +300,7 @@ def movies(list_type, add_limit=0, add_delay=2.5, genre=None, no_search=False, n try: # check if genre matches genre supplied via argument if genre and genre.lower() not in movie['movie']['genres']: - log.debug("Skipping: %s because it was not from %s genre", movie['movie']['title'], genre) + log.debug("Skipping: %s because it was not from %s genre", movie['movie']['title'], genre.lower()) continue # check if movie passes out blacklist criteria inspection