100 percent coverage on analysis views
This commit is contained in:
@@ -177,8 +177,6 @@ def set_strava_athlete_id(user):
|
||||
r.strava_owner_id = response.json()['id']
|
||||
r.save()
|
||||
return response.json()['id']
|
||||
else:
|
||||
print(response)
|
||||
|
||||
return 0
|
||||
|
||||
@@ -775,7 +773,7 @@ def workout_strava_upload(user,w, quick=False,asynchron=True):
|
||||
activity_type = mytypes.stravamapping[w.workouttype]
|
||||
except KeyError:
|
||||
activity_type = 'Rowing'
|
||||
print(w.workouttype,activity_type)
|
||||
|
||||
with open(tcxfile,'rb') as f:
|
||||
res,mes = handle_stravaexport(
|
||||
f,w.name,
|
||||
|
||||
Reference in New Issue
Block a user