fix
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.
Reference in New Issue
Block a user