Skip to content

Commit b26f6a8

Browse files
committed
A little test
1 parent 11f6ee2 commit b26f6a8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

oauth2/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -808,10 +808,10 @@ def access_token(self, code, redirect_uri, params=None, secret_type=None,
808808
if not response.status == 200:
809809
raise Error(content)
810810

811-
if "json" in response['content-type']:
812-
response_args = Client2._get_json(content)
813-
else:
814-
response_args = Client2._split_url_string(content)
811+
# if "json" in response['content-type']:
812+
response_args = Client2._get_json(content)
813+
# else:
814+
# response_args = Client2._split_url_string(content)
815815

816816
error = response_args.pop('error', None)
817817
if error is not None:

0 commit comments

Comments
 (0)