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

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

Description

@Pajinek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions