diff options
author | Federico Caselli <CaselIT@users.noreply.github.com> | 2020-12-12 16:59:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-12 21:59:57 +0600 |
commit | 5fc33b212d2e5083abe4ff66ced037d182f9a6aa (patch) | |
tree | 47964c3aa10892beb4cea46b7792c3a2a87bbad6 /jwt | |
parent | 2243c0889a1cd21761d778f648f41c43994651c4 (diff) | |
download | pyjwt-5fc33b212d2e5083abe4ff66ced037d182f9a6aa.tar.gz |
Avoid loading token twice in pyjwt.decode (#506)
Removes a call to _load that was unused.
Diffstat (limited to 'jwt')
-rw-r--r-- | jwt/api_jwt.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/jwt/api_jwt.py b/jwt/api_jwt.py index e08d65c..d7078d6 100644 --- a/jwt/api_jwt.py +++ b/jwt/api_jwt.py @@ -80,8 +80,6 @@ class PyJWT(PyJWS): **kwargs ): # type: (...) -> Dict[str, Any] - payload, _, _, _ = self._load(jwt) - if options is None: options = {"verify_signature": True} else: |