Private
Public Access
1
0

bike erg import from C2 log

This commit is contained in:
Sander Roosendaal
2018-08-29 09:46:46 +02:00
parent 10e989d32d
commit cadc5d5e0d
4 changed files with 19 additions and 7 deletions

View File

@@ -9757,7 +9757,7 @@ def workout_getimportview(request,externalid,source = 'c2'):
w = Workout.objects.get(id=id)
w.uploadedtoc2 = c2id
w.name = 'Imported from C2'
w.workouttype = 'rower'
w.workouttype = workouttype
w.save()
message = "This workout does not have any stroke data associated with it. We created synthetic stroke data."