crashes
doubledrat opened this issue · 1 comments
netatmo list
Traceback (most recent call last):
File "/usr/local/bin/netatmo", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.4/dist-packages/netatmo/netatmo.py", line 929, in main
args.func(args)
File "/usr/local/lib/python3.4/dist-packages/netatmo/netatmo.py", line 778, in list_stations
ws.get_data("*")
File "/usr/local/lib/python3.4/dist-packages/netatmo/netatmo.py", line 310, in get_data
auth_token = self.access_token
File "/usr/local/lib/python3.4/dist-packages/netatmo/netatmo.py", line 265, in access_token
resp = post_request(_AUTH_REQ, post_params)
File "/usr/local/lib/python3.4/dist-packages/netatmo/netatmo.py", line 103, in post_request
ret = json.loads(resp.content)
File "/usr/lib/python3.4/json/init.py", line 312, in loads
s.class.name))
TypeError: the JSON object must be str, not 'bytes'
You are running Python 3.4 and this package requires Python 3.5+