Skip to content

py3.6中报错:APIError(-1, url, 'json decode error, value={0!r}'.format(ret))  #3

Description

@mattzheng
    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions