q
This commit is contained in:
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
BIN
rowers/tests/testdata/testdata.tcx.gz
vendored
Binary file not shown.
@@ -772,7 +772,10 @@ def cpdata(workouts, options):
|
|||||||
try:
|
try:
|
||||||
tvalue = int(60*(tvalue-minutevalue))
|
tvalue = int(60*(tvalue-minutevalue))
|
||||||
except TypeError: # pragma: no cover
|
except TypeError: # pragma: no cover
|
||||||
tvalue = int(60*tvalue)
|
try:
|
||||||
|
tvalue = int(60*tvalue)
|
||||||
|
except TypeError:
|
||||||
|
tvalue = 0
|
||||||
|
|
||||||
if hourvalue >= 24: # pragma: no cover
|
if hourvalue >= 24: # pragma: no cover
|
||||||
hourvalue = 23
|
hourvalue = 23
|
||||||
|
|||||||
Reference in New Issue
Block a user