summaryrefslogtreecommitdiff
path: root/jwt/algorithms.py
diff options
context:
space:
mode:
authorMark Adams <mark@markadams.me>2015-01-18 10:49:45 -0600
committerMark Adams <mark@markadams.me>2015-01-18 10:49:45 -0600
commitf39d7eeda7dbd1aadcc44a364a717c2877b7db96 (patch)
tree788b8c8f5176934005999bf98e1c7f17642cf7f0 /jwt/algorithms.py
parent81a5932d006877033b5e1579b94cb8c87ca9b5ed (diff)
downloadpyjwt-f39d7eeda7dbd1aadcc44a364a717c2877b7db96.tar.gz
Replaced reference to basestring with string_types that I missed when rebasing earlier.
Diffstat (limited to 'jwt/algorithms.py')
-rw-r--r--jwt/algorithms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jwt/algorithms.py b/jwt/algorithms.py
index 3e8ea38..cf3bd47 100644
--- a/jwt/algorithms.py
+++ b/jwt/algorithms.py
@@ -112,7 +112,7 @@ if has_crypto:
isinstance(key, interfaces.RSAPublicKey):
return key
- if isinstance(key, basestring):
+ if isinstance(key, string_types):
if isinstance(key, text_type):
key = key.encode('utf-8')