added stats for SpeedCoach 2 GPS
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user