Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasthaler committed Feb 6, 2021
1 parent 9bbe252 commit f5814e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiogoogle/auth/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f5814e0

Please sign in to comment.