Traktarr: Typo fix

pull/105/head
desimaniac 5 years ago
parent 8096c8d48c
commit 7990eb7a84

@ -386,7 +386,7 @@ class Trakt:
def _renew_oauth_token_if_expired(self, user): def _renew_oauth_token_if_expired(self, user):
token_information = self.cfg['trakt'][user] token_information = self.cfg['trakt'][user]
# Check if the acces_token for the user is expired # Check if the access_token for the user is expired
expires_at = token_information['created_at'] + token_information['expires_in'] expires_at = token_information['created_at'] + token_information['expires_in']
if expires_at < round(time.time()): if expires_at < round(time.time()):
log.info("The access token for the user %s has expired. We're requesting a new one; please wait a moment.", log.info("The access token for the user %s has expired. We're requesting a new one; please wait a moment.",

@ -1470,7 +1470,7 @@ def automatic_movies(
add_delay=add_delay, add_delay=add_delay,
sort=sort, sort=sort,
no_search=no_search, no_search=no_search,
otifications=notifications, notifications=notifications,
authenticate_user=authenticate_user, authenticate_user=authenticate_user,
ignore_blacklist=local_ignore_blacklist, ignore_blacklist=local_ignore_blacklist,
rotten_tomatoes=rotten_tomatoes, rotten_tomatoes=rotten_tomatoes,

Loading…
Cancel
Save