From 7b3dc9d36de1db28a6f36b03de85cf7f527231cc Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Wed, 20 Apr 2022 13:44:26 +0300 Subject: Add scaffolding for web app Add a basic scaffolding for the web interface to the quality-control application. --- qc_app/parse_error.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 qc_app/parse_error.py (limited to 'qc_app/parse_error.py') diff --git a/qc_app/parse_error.py b/qc_app/parse_error.py new file mode 100644 index 0000000..1414b78 --- /dev/null +++ b/qc_app/parse_error.py @@ -0,0 +1,9 @@ +"""Parse Error handling blue print""" +from flask import Blueprint + +parseerrbp = Blueprint("parse_error", __name__) + +@parseerrbp.route("/", methods=["GET"]) +def parse_success(): + """Indicates success if parsing the file is fails""" + return "STUB: Parse error!!!" -- cgit v1.2.3