small strava sync correction
This commit is contained in:
@@ -590,6 +590,11 @@ def add_workout_from_data(user,importid,data,strokedata,
|
||||
return id,message
|
||||
|
||||
def workout_strava_upload(user,w):
|
||||
try:
|
||||
thetoken = strava_open(user)
|
||||
except NoTokenError:
|
||||
return "Please connect to Strava first",0
|
||||
|
||||
message = "Uploading to Strava"
|
||||
stravaid=-1
|
||||
r = Rower.objects.get(user=user)
|
||||
|
||||
Reference in New Issue
Block a user