Private
Public Access
1
0

added device_name to Strava (doesn't work yet)

This commit is contained in:
Sander Roosendaal
2017-04-11 14:20:22 +02:00
parent aa0b3dde68
commit 3394d8f779

View File

@@ -252,7 +252,7 @@ def handle_stravaexport(f2,workoutname,stravatoken,description=''):
# description doesn't work yet. Have to wait for stravalib to update
if res:
act = client.update_activity(res.id,activity_type='Rowing',description=description)
act = client.update_activity(res.id,activity_type='Rowing',description=description,device_name='Rowsandall.com')
else:
message = 'Strava upload timed out.'
return (0,message)