Private
Public Access
1
0

Merge branch 'release/v23.6.14'

This commit is contained in:
2025-11-14 16:11:49 +01:00
4 changed files with 7 additions and 3 deletions

View File

@@ -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]

View File

@@ -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:

Binary file not shown.

View File

@@ -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