From d209ec0f8a3884b6c99de817e5dac0fee8cbb562 Mon Sep 17 00:00:00 2001 From: Giuseppe De Marco Date: Thu, 21 Nov 2024 14:38:28 +0100 Subject: [PATCH] Apply suggestions from code review --- pyeudiw/jwt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyeudiw/jwt/__init__.py b/pyeudiw/jwt/__init__.py index 65be0e6a..fc444da2 100644 --- a/pyeudiw/jwt/__init__.py +++ b/pyeudiw/jwt/__init__.py @@ -278,7 +278,7 @@ def verify(self, jwt: str, **kwargs) -> (str | Any | bytes): ) elif _head.get("jwk"): raise NotImplementedError( - f"{_head.get('jwk') != {_jwk_dict}. Loaded/expected is {_jwk_dict}) while the verified JWT header is {_head}" + f"{_head.get('jwk')} != {_jwk_dict}. Loaded/expected is {_jwk_dict}) while the verified JWT header is {_head}" ) else: raise KidError(