Private
Public Access
1
0
This commit is contained in:
2025-11-14 16:09:51 +01:00
parent fba6ea22d0
commit ee4e5d9ef5
3 changed files with 3 additions and 2 deletions

View File

@@ -493,7 +493,8 @@ def calculate_goldmedalstandard(rower, workout, recurrance=True):
wcdurations.append(record.duration) wcdurations.append(record.duration)
wcpower.append(record.power) wcpower.append(record.power)
else: else:
getrecords = True pass
# getrecords = True
if getrecords: # pragma: no cover if getrecords: # pragma: no cover
durations = [1, 4, 30, 60] durations = [1, 4, 30, 60]

View File

@@ -2940,7 +2940,7 @@ def handle_makeplot(f1, f2, t, hrdata, plotnr, imagename,
hrzones=hrzones) hrzones=hrzones)
try: try:
row = rdata(csvfile=f2, rower=rr) row = rdata(csvfile=f2, rower=rr)
except IOError: # pragma: no cover except: # pragma: no cover
row = rdata(csvfile=f2 + '.gz', rower=rr) row = rdata(csvfile=f2 + '.gz', rower=rr)
try: try:

Binary file not shown.