TBR=vadimsh@google.com

Change-Id: I96c4039d12ba3570d828b24009a2446fba44c14d
Reviewed-on: https://chromium-review.googlesource.com/1020539
Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
This commit is contained in:
Andrii Shyshkalov
2018-04-19 18:04:54 -07:00
committed by Commit Bot
parent 067ef5d894
commit 94580ab035
2 changed files with 2 additions and 2 deletions

View File

@@ -522,7 +522,7 @@ class Authenticator(object):
self._access_token = self._load_access_token()
# Refresh if expired or missing.
if not self._access_token or self._access_toke.needs_refresh():
if not self._access_token or self._access_token.needs_refresh():
# Maybe some other process already updated it, reload from the cache.
self._access_token = self._load_access_token()
# Nope, still expired, need to run the refresh flow.