Private
Public Access
1
0

Merge branch 'develop' into feature/charts-microservice

This commit is contained in:
2024-03-27 18:54:01 +01:00

View File

@@ -492,7 +492,7 @@ def calculate_goldmedalstandard(rower, workout, recurrance=True):
indexmax = scores.idxmax()
delta = int(df.loc[indexmax, 'delta'])
maxvalue = scores.max()
except (ValueError, TypeError): # pragma: no cover
except (ValueError, TypeError, KeyError): # pragma: no cover
indexmax = 0
delta = 0
maxvalue = 0