fix
This commit is contained in:
@@ -3779,6 +3779,12 @@ class RowerHRZonesForm(ModelForm):
|
|||||||
hranname = 'AN'
|
hranname = 'AN'
|
||||||
cleaned_data['hranname'] = 'AN'
|
cleaned_data['hranname'] = 'AN'
|
||||||
|
|
||||||
|
try:
|
||||||
|
hrmaxname = cleaned_data['hrmaxname']
|
||||||
|
except:
|
||||||
|
hrmaxname = 'Max'
|
||||||
|
cleaned_data['hrmaxname'] = 'Max'
|
||||||
|
|
||||||
|
|
||||||
if rest >= ut2:
|
if rest >= ut2:
|
||||||
e = "{ut2name} should be higher than {restname}".format(
|
e = "{ut2name} should be higher than {restname}".format(
|
||||||
|
|||||||
Reference in New Issue
Block a user