Private
Public Access
1
0

adding biekerg

This commit is contained in:
Sander Roosendaal
2020-08-30 20:43:57 +02:00
parent 5f642e154b
commit 24311aeeef

View File

@@ -1027,7 +1027,7 @@ def add_workout_from_data(user,importid,data,strokedata,
velo = 500./pace
power = 2.8*velo**3
if workouttype == 'bike':
if workouttype in ['bike','bikeerg']:
velo = 1000./pace
pace = 500./velo