Private
Public Access
1
0

further coverage increases

This commit is contained in:
Sander Roosendaal
2021-04-13 19:20:04 +02:00
parent 08dbd43b61
commit 9c6cf18ee5
8 changed files with 208 additions and 205 deletions

View File

@@ -2818,6 +2818,7 @@ def handle_setcp(strokesdf,filename,workoutid,debug=False,**kwargs):
except FileNotFoundError:
pass
if not strokesdf.empty:
try:
totaltime = strokesdf['time'].max()
except KeyError:
@@ -2827,6 +2828,7 @@ def handle_setcp(strokesdf,filename,workoutid,debug=False,**kwargs):
except KeyError:
powermean = 0
if powermean != 0:
thesecs = totaltime
maxt = 1.05 * thesecs