Commit 85aa2eff authored by Willard's avatar Willard

Add newlines to end of files

parent 8862addd
...@@ -40,4 +40,4 @@ def search(): ...@@ -40,4 +40,4 @@ def search():
'stall_name': dish.stall.name, 'stall_name': dish.stall.name,
'image_path': dish.image_path 'image_path': dish.image_path
}) })
return jsonify(data) return jsonify(data)
\ No newline at end of file
...@@ -83,4 +83,4 @@ class DishRegisterForm(FlaskForm): ...@@ -83,4 +83,4 @@ class DishRegisterForm(FlaskForm):
flash('Dish name is taken!') flash('Dish name is taken!')
return False return False
return True return True
\ No newline at end of file
...@@ -208,4 +208,4 @@ def unauthorized(): ...@@ -208,4 +208,4 @@ def unauthorized():
def flash_form_errors(form): def flash_form_errors(form):
for field, errors in form.errors.items(): for field, errors in form.errors.items():
for error in errors: for error in errors:
flash(u"Error in the %s field - %s" % (getattr(form, field).label.text, error)) flash(u"Error in the %s field - %s" % (getattr(form, field).label.text, error))
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment