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
|
# handle speed coach GPS 2
|
||||||
if (fileformat == 'speedcoach2'):
|
if (fileformat == 'speedcoach2'):
|
||||||
row = SpeedCoach2Parser(f2)
|
row = SpeedCoach2Parser(f2)
|
||||||
|
try:
|
||||||
|
summary = row.allstats()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
# handle ErgStick
|
# handle ErgStick
|
||||||
if (fileformat == 'ergstick'):
|
if (fileformat == 'ergstick'):
|
||||||
@@ -3773,7 +3777,7 @@ def workout_upload_view(request,message=""):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if fileformat != 'fit':
|
if fileformat != 'fit' and summary == '':
|
||||||
summary = row.summary()
|
summary = row.summary()
|
||||||
summary += '\n'
|
summary += '\n'
|
||||||
summary += row.intervalstats_painsled()
|
summary += row.intervalstats_painsled()
|
||||||
|
|||||||
Reference in New Issue
Block a user