From 7990eb7a846c02a7c27fa52d0fcde890ef871076 Mon Sep 17 00:00:00 2001 From: desimaniac <5501908+desimaniac@users.noreply.github.com> Date: Sat, 2 Nov 2019 02:28:29 -0500 Subject: [PATCH] Traktarr: Typo fix --- media/trakt.py | 2 +- traktarr.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,