fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user