Merge branch 'release/v23.6.14'
This commit is contained in:
@@ -493,7 +493,8 @@ def calculate_goldmedalstandard(rower, workout, recurrance=True):
|
||||
wcdurations.append(record.duration)
|
||||
wcpower.append(record.power)
|
||||
else:
|
||||
getrecords = True
|
||||
pass
|
||||
# getrecords = True
|
||||
|
||||
if getrecords: # pragma: no cover
|
||||
durations = [1, 4, 30, 60]
|
||||
|
||||
@@ -2940,7 +2940,7 @@ def handle_makeplot(f1, f2, t, hrdata, plotnr, imagename,
|
||||
hrzones=hrzones)
|
||||
try:
|
||||
row = rdata(csvfile=f2, rower=rr)
|
||||
except IOError: # pragma: no cover
|
||||
except: # pragma: no cover
|
||||
row = rdata(csvfile=f2 + '.gz', rower=rr)
|
||||
|
||||
try:
|
||||
|
||||
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:
|
||||
tvalue = int(60*(tvalue-minutevalue))
|
||||
except TypeError: # pragma: no cover
|
||||
tvalue = int(60*tvalue)
|
||||
try:
|
||||
tvalue = int(60*tvalue)
|
||||
except TypeError:
|
||||
tvalue = 0
|
||||
|
||||
if hourvalue >= 24: # pragma: no cover
|
||||
hourvalue = 23
|
||||
|
||||
Reference in New Issue
Block a user