Update traktarr.py

Replacing placeholder for .format(), from "%s" to "{}"
pull/178/head
needsMoreTurbo 3 months ago committed by GitHub
parent 52d71964a2
commit 05447a3094
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1349,7 +1349,7 @@ def automatic_shows(
local_ignore_blacklist = ignore_blacklist 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 local_ignore_blacklist = True
# run shows # run shows
@ -1483,7 +1483,7 @@ def automatic_movies(
local_ignore_blacklist = ignore_blacklist 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 local_ignore_blacklist = True
# run movies # run movies

Loading…
Cancel
Save