Merge branch 'hotfix/v9.35'
This commit is contained in:
@@ -116,8 +116,13 @@ def createsporttracksworkoutdata(w):
|
||||
except:
|
||||
return 0
|
||||
|
||||
try:
|
||||
averagehr = int(row.df[' HRCur (bpm)'].mean())
|
||||
maxhr = int(row.df[' HRCur (bpm)'].max())
|
||||
except KeyError:
|
||||
averagehr = 0
|
||||
maxhr = 0
|
||||
|
||||
duration = w.duration.hour*3600
|
||||
duration += w.duration.minute*60
|
||||
duration += w.duration.second
|
||||
|
||||
Reference in New Issue
Block a user