From 719a9f5969d39ccb5eacf52292437cc014222143 Mon Sep 17 00:00:00 2001 From: Stephen Rosen Date: Sat, 2 Sep 2023 06:29:58 -0500 Subject: [PATCH] Fix an unnecessary str concat (#904) --- 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")