Merge branch 'release/v23.1.13'
This commit is contained in:
@@ -772,6 +772,9 @@ def step_to_time_dist(step, avgspeed=3.2, ftp=200, ftspm=25, ftv=3.7, powerzones
|
|||||||
distance = avgspeed*seconds
|
distance = avgspeed*seconds
|
||||||
rscore = 60.*seconds/3600.
|
rscore = 60.*seconds/3600.
|
||||||
|
|
||||||
|
if targettype is None:
|
||||||
|
return seconds, distance, rscore
|
||||||
|
|
||||||
if targettype.lower() == 'speed': # pragma: no cover
|
if targettype.lower() == 'speed': # pragma: no cover
|
||||||
value = step.get('targetValue', 0)
|
value = step.get('targetValue', 0)
|
||||||
valuelow = step.get('targetValueLow', 0)
|
valuelow = step.get('targetValueLow', 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user