Skip to content
Snippets Groups Projects
Commit 0b0838f6 authored by Stephan Porada's avatar Stephan Porada :speech_balloon:
Browse files

Fix typo

parent f1894605
No related branches found
No related tags found
No related merge requests found
......@@ -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')):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment