Skip to content

Commit

Permalink
Merge pull request #50 from oliver-ni/patch-1
Browse files Browse the repository at this point in the history
Fix fromisoformat error
  • Loading branch information
omarryhan authored Feb 10, 2021
2 parents a57eddc + cc32475 commit a84490a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiogoogle/auth/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def _is_expired(expires_at):
if sys.version_info[1] <= 6:
expires_at = _parse_isoformat(expires_at)
else:
expires_at = datetime.fromisoformat(expires_at)
expires_at = datetime.datetime.fromisoformat(expires_at)
if datetime.datetime.utcnow() >= expires_at:
return True
else:
Expand Down

0 comments on commit a84490a

Please sign in to comment.