diff --git a/media/trakt.py b/media/trakt.py index c386c47..578ede5 100644 --- a/media/trakt.py +++ b/media/trakt.py @@ -386,7 +386,7 @@ class Trakt: def _renew_oauth_token_if_expired(self, 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'] 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.", diff --git a/traktarr.py b/traktarr.py index 6e03dc4..c95261c 100755 --- a/traktarr.py +++ b/traktarr.py @@ -1470,7 +1470,7 @@ def automatic_movies( add_delay=add_delay, sort=sort, no_search=no_search, - otifications=notifications, + notifications=notifications, authenticate_user=authenticate_user, ignore_blacklist=local_ignore_blacklist, rotten_tomatoes=rotten_tomatoes,