Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

AttributeError: 'Api' object has no attribute 'decode' #13

Open
reversebro opened this issue Mar 19, 2019 · 1 comment
Open

AttributeError: 'Api' object has no attribute 'decode' #13

reversebro opened this issue Mar 19, 2019 · 1 comment

Comments

@reversebro
Copy link

, line 19, in request_get
url_parse = parse.urlsplit(url)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/parse.py", line 398, in urlsplit
url, scheme, _coerce_result = _coerce_args(url, scheme)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/parse.py", line 123, in _coerce_args
return _decode_args(args) + (_encode_result,)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/parse.py", line 107, in _decode_args
return tuple(x.decode(encoding, errors) if x else '' for x in args)
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/parse.py", line 107, in
return tuple(x.decode(encoding, errors) if x else '' for x in args)
AttributeError: 'Api' object has no attribute 'decode'

@abdullah249
Copy link

Got the same issue but couldnt fix it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants