From a129cd245ff74bb06bca66dda85b11dab045be99 Mon Sep 17 00:00:00 2001 From: Scott Dawson Date: Fri, 22 Apr 2022 13:08:36 +1000 Subject: [PATCH] Fix formatting on disabled for check Signed-off-by: Scott Dawson --- traktarr.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/traktarr.py b/traktarr.py index c9c417a..ccc879d 100755 --- a/traktarr.py +++ b/traktarr.py @@ -1349,7 +1349,7 @@ def automatic_shows( local_ignore_blacklist = ignore_blacklist - if "watchlist:%s".format(authenticate_user) in cfg.filters.shows.disabled_for: + if "watchlist:{}".format(authenticate_user) in cfg.filters.shows.disabled_for: local_ignore_blacklist = True # run shows @@ -1384,7 +1384,7 @@ def automatic_shows( local_ignore_blacklist = ignore_blacklist - if "list:%s".format(list_) in cfg.filters.shows.disabled_for: + if "list:{}".format(list_) in cfg.filters.shows.disabled_for: local_ignore_blacklist = True # run shows @@ -1483,7 +1483,7 @@ def automatic_movies( local_ignore_blacklist = ignore_blacklist - if "watchlist:%s".format(authenticate_user) in cfg.filters.movies.disabled_for: + if "watchlist:{}".format(authenticate_user) in cfg.filters.movies.disabled_for: local_ignore_blacklist = True # run movies @@ -1519,7 +1519,7 @@ def automatic_movies( local_ignore_blacklist = ignore_blacklist - if "list:%s".format(list_) in cfg.filters.movies.disabled_for: + if "list:{}".format(list_) in cfg.filters.movies.disabled_for: local_ignore_blacklist = True # run shows