diff options
author | Jonathan Huot <JonathanHuot@users.noreply.github.com> | 2019-03-04 15:54:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-04 15:54:06 +0100 |
commit | 7f5d6eb9a95b46eb848887d7b2ccb36d03bb4d91 (patch) | |
tree | 605339a3e23f210f6dda0c244ae7a56369136062 | |
parent | 7f7d38e6a48b85b906fc14ce186fa39ee468176d (diff) | |
parent | 6e027a458a31e6e840827eba39279037d1f21aec (diff) | |
download | oauthlib-oidc-reqval-duplicate.tar.gz |
Merge branch 'master' into oidc-reqval-duplicateoidc-reqval-duplicate
-rw-r--r-- | oauthlib/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/common.py b/oauthlib/common.py index 970d7a5..96de1f1 100644 --- a/oauthlib/common.py +++ b/oauthlib/common.py @@ -172,7 +172,7 @@ def extract_params(raw): empty list of parameters. Any other input will result in a return value of None. """ - if isinstance(raw, bytes) or isinstance(raw, unicode_type): + if isinstance(raw, (bytes, unicode_type)): try: params = urldecode(raw) except ValueError: |