Private
Public Access
1
0

added stats for SpeedCoach 2 GPS

This commit is contained in:
Sander Roosendaal
2016-12-11 20:33:41 +01:00
parent 62718ea07a
commit 7d0d7a0fd5

View File

@@ -3701,6 +3701,10 @@ def workout_upload_view(request,message=""):
# handle speed coach GPS 2
if (fileformat == 'speedcoach2'):
row = SpeedCoach2Parser(f2)
try:
summary = row.allstats()
except:
pass
# handle ErgStick
if (fileformat == 'ergstick'):
@@ -3773,7 +3777,7 @@ def workout_upload_view(request,message=""):
except:
pass
if fileformat != 'fit':
if fileformat != 'fit' and summary == '':
summary = row.summary()
summary += '\n'
summary += row.intervalstats_painsled()