bug fix
This commit is contained in:
@@ -1534,7 +1534,7 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
|
||||
r.p1 = p1[1]
|
||||
r.p2 = p1[2]
|
||||
r.p3 = p1[3]
|
||||
r.cpratio = res[3]
|
||||
r.cpratio = res2[3]
|
||||
r.save()
|
||||
|
||||
elif workouttype in otetypes:
|
||||
@@ -1565,7 +1565,7 @@ def save_workout_database(f2, r, dosmooth=True, workouttype='rower',
|
||||
r.ep1 = p1[1]
|
||||
r.ep2 = p1[2]
|
||||
r.ep3 = p1[3]
|
||||
r.ecpratio = res[3]
|
||||
r.ecpratio = res2[3]
|
||||
r.save()
|
||||
else:
|
||||
res = 0
|
||||
|
||||
Reference in New Issue
Block a user