Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python3.5.2 error on __init__ line 147 #5

Open
retosteffen opened this issue Dec 23, 2016 · 0 comments
Open

python3.5.2 error on __init__ line 147 #5

retosteffen opened this issue Dec 23, 2016 · 0 comments

Comments

@retosteffen
Copy link
Contributor

retosteffen commented Dec 23, 2016

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

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

No branches or pull requests

1 participant