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

Does not run with Python 3.4.3 #1

Open
gaul opened this issue Nov 2, 2017 · 0 comments
Open

Does not run with Python 3.4.3 #1

gaul opened this issue Nov 2, 2017 · 0 comments

Comments

@gaul
Copy link

gaul commented Nov 2, 2017

Would be nice to make this compatible or document the required Python version in the README:

$ python3 whoishiring.py 15601729
Traceback (most recent call last):
  File "whoishiring.py", line 15, in <module>
    hn_json = json.load(hn_response)
  File "/usr/lib/python3.4/json/__init__.py", line 268, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.4/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

Tested on Ubuntu 14.04.

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