isoteemu/sports-tracker-liberator

Librarys

Closed this issue · 1 comments

Hi

I tried to get the workout list but got the following error:
./workoutlist.py
Traceback (most recent call last):
File "./workoutlist.py", line 9, in
for workout in endomondo_object.workout_list():
File "/transfer/Endomondo-Reverse-Engineering/endomondo.py", line 176, in workout_list
for entry in r.json['data']:
TypeError: 'instancemethod' object has no attribute 'getitem

Which version of the additional libraries have you used?

Hi,

It appears that Requests library has changed how it returns json data. If this is still topical, I've now updated a3996b4 to reflect this change, and it's tested on Requests 1.1.0.

Thanks for reporting!