diff options
author | Mark Adams <mark@markadams.me> | 2015-01-18 10:49:45 -0600 |
---|---|---|
committer | Mark Adams <mark@markadams.me> | 2015-01-18 10:49:45 -0600 |
commit | f39d7eeda7dbd1aadcc44a364a717c2877b7db96 (patch) | |
tree | 788b8c8f5176934005999bf98e1c7f17642cf7f0 /jwt/algorithms.py | |
parent | 81a5932d006877033b5e1579b94cb8c87ca9b5ed (diff) | |
download | pyjwt-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.py | 2 |
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') |