Private
Public Access
1
0

correcting no avghr and no maxhr workouts

This commit is contained in:
Sander Roosendaal
2018-11-29 12:28:08 +01:00
parent f8066c8c7d
commit 7a2f1b951f
3 changed files with 22 additions and 2 deletions

View File

@@ -597,7 +597,10 @@ def handle_calctrimp(id,
df = rowdata.df
df['deltat'] = df[' ElapsedTime (sec)'].diff().abs()
try:
df['deltat'] = df[' ElapsedTime (sec)'].diff().abs()
except KeyError:
return 0
df2 = df.copy()