From f5814e0bec94031d9b1d56fe77b54a57093a8a96 Mon Sep 17 00:00:00 2001 From: lukasthaler <33826427+lukasthaler@users.noreply.github.com> Date: Sat, 6 Feb 2021 18:12:48 +0100 Subject: [PATCH] fix indentation --- aiogoogle/auth/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aiogoogle/auth/utils.py b/aiogoogle/auth/utils.py index cdbe413..aa291ae 100644 --- a/aiogoogle/auth/utils.py +++ b/aiogoogle/auth/utils.py @@ -27,9 +27,9 @@ def _is_expired(expires_at): if not isinstance(expires_at, datetime.datetime): # datetime.fromisoformat is 3.7+ if sys.version_info[1] <= 6: - expires_at = _parse_isoformat(expires_at) + expires_at = _parse_isoformat(expires_at) else: - expires_at = datetime.fromisoformat(expires_at) + expires_at = datetime.fromisoformat(expires_at) if datetime.datetime.utcnow() >= expires_at: return True else: