Merge branch 'feature/stravadevice' into develop
This commit is contained in:
@@ -260,7 +260,7 @@ def handle_stravaexport(f2,workoutname,stravatoken,description=''):
|
|||||||
|
|
||||||
# description doesn't work yet. Have to wait for stravalib to update
|
# description doesn't work yet. Have to wait for stravalib to update
|
||||||
if res:
|
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:
|
else:
|
||||||
message = 'Strava upload timed out.'
|
message = 'Strava upload timed out.'
|
||||||
return (0,message)
|
return (0,message)
|
||||||
|
|||||||
Reference in New Issue
Block a user