Build(deps): Generally update JS & Python deps (#512)

This commit is contained in:
2022-11-17 12:06:21 +00:00
committed by GitHub
parent 3767923175
commit de4bed92a4
6 changed files with 3485 additions and 3354 deletions

View File

@@ -217,7 +217,7 @@ class EventChecklistForm(forms.ModelForm):
for key in vehicles:
pk = int(key.split('_')[1])
driver_key = 'driver_' + str(pk)
if(self.data[driver_key] == ''):
if (self.data[driver_key] == ''):
raise forms.ValidationError('Add a driver to vehicle ' + str(pk), code='vehicle_mismatch')
else:
try: