Skip to content

python3.5.2 error on __init__ line 147 #5

Description

@retosteffen

Should line 147 read:
except HTTPException as e: print(str(e))
instead of
except HTTPException, e: print(str(e))
which gives me an error for python3.5.2

--edit--
I also needed to make the import explicit with python3.5.2 for line 5
from http:client import HTTPConnection, HTTPSConnection, HTTPException

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