mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Fix typo
This commit is contained in:
parent
f189460543
commit
0b0838f6e0
@ -71,7 +71,7 @@ class AddOCRJobForm(FlaskForm):
|
||||
class AddMergeImagesJobForm(FlaskForm):
|
||||
files = MultipleFileField('Files', validators=[DataRequired()])
|
||||
|
||||
def validate_files(form, filed):
|
||||
def validate_files(form, field):
|
||||
for file in field.data:
|
||||
if not file.filename.lower().endswith(('.jpeg', '.jpg', '.png',
|
||||
'.tiff', '.tif')):
|
||||
|
Loading…
Reference in New Issue
Block a user