if self._api.decode_result: try: ret = json.loads(ret, object_hook=ObjectDict) except: raise APIError(-1, url, 'json decode error, value={0!r}'.format(ret)) 我在py3.6中跑这句的时候,老是报错,就注释掉了。
Activity
ShwetanshuSingh commentedon Dec 23, 2018
I believe I'm facing the same issue. I'm running python 3.5.
@mattzheng Any workaround to it?
mattzheng commentedon Dec 24, 2018
hahahaha~ you could mask those lines:
ShwetanshuSingh commentedon Dec 24, 2018
I found an alternative by converting it into string and then into a dictionary:
yanminhui commentedon Jan 22, 2019
@ShwetanshuSingh It may be better as follow: