From 3e40c0da1062a0127c4ee4c3f40d72eafbdb1969 Mon Sep 17 00:00:00 2001 From: Sander Roosendaal Date: Wed, 24 May 2017 06:02:40 +0200 Subject: [PATCH] strava upload fix --- rowers/stravastuff.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rowers/stravastuff.py b/rowers/stravastuff.py index 83f860e1..28900411 100644 --- a/rowers/stravastuff.py +++ b/rowers/stravastuff.py @@ -290,7 +290,7 @@ def handle_stravaexport(f2,workoutname,stravatoken,description=''): act = client.update_activity(res.id,activity_type='Rowing',description=description,device_name='Rowsandall.com') else: message = 'Strava activity update timed out.' - return (res.id,message) + return (0,message) return (res.id,message)