Skip to content

Commit

Permalink
Fix an unnecessary str concat (#904)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirosen authored Sep 2, 2023
1 parent 95638cf commit 719a9f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwt/api_jwt.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def _validate_exp(
try:
exp = int(payload["exp"])
except ValueError:
raise DecodeError("Expiration Time claim (exp) must be an" " integer.")
raise DecodeError("Expiration Time claim (exp) must be an integer.")

if exp <= (now - leeway):
raise ExpiredSignatureError("Signature has expired")
Expand Down

0 comments on commit 719a9f5

Please sign in to comment.