Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

can't create workout: TypeError: a float is required #9

Open
Pajinek opened this issue Aug 28, 2015 · 0 comments
Open

can't create workout: TypeError: a float is required #9

Pajinek opened this issue Aug 28, 2015 · 0 comments

Comments

@Pajinek
Copy link
Contributor

Pajinek commented Aug 28, 2015

v = endomondo.get_workout(531266864)
v.start_time = datetime.utcnow()
endomondo.post_workout(workout=v, properties={'audioMessage': 'false'})
Traceback (most recent call last):
File "", line 1, in
File "endomondo/endomondo.py", line 386, in post_workout
data = '\n'.join([self.flatten_trackpoint(i) for i in chunk])
File "endomondo/endomondo.py", line 410, in flatten_trackpoint
'dist': round(track_point.dist,2),
TypeError: a float is required

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

No branches or pull requests

1 participant