alexis-mignon / python-flickr-api

A python implementation of the Flickr API
BSD 3-Clause "New" or "Revised" License
367 stars 108 forks source link

Login bug - 'str' object has no attribute 'decode' #81

Closed tomquirk closed 6 years ago

tomquirk commented 6 years ago
flickr_api/method_call.py", line 131, in call_api
resp = json.loads(resp.decode())
AttributeError: 'str' object has no attribute 'decode'

May not need to be decoded.

Using python3.

UPDATE: tested on python 2, seems to be a non-issue here. I will add an exception to catch the error for python 3