From 179072f9d764c14945f406997de5d9aea66c851b Mon Sep 17 00:00:00 2001 From: Stephen Rosen Date: Tue, 25 Jul 2023 10:30:59 -0500 Subject: [PATCH] Fix an unnecessary str concat --- jwt/api_jwt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jwt/api_jwt.py b/jwt/api_jwt.py index 48d739ad..60610fdc 100644 --- a/jwt/api_jwt.py +++ b/jwt/api_jwt.py @@ -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")