diff options
Diffstat (limited to 'qc_app/__init__.py')
-rw-r--r-- | qc_app/__init__.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qc_app/__init__.py b/qc_app/__init__.py index 2dd5758..9b5ed76 100644 --- a/qc_app/__init__.py +++ b/qc_app/__init__.py @@ -4,8 +4,7 @@ import os from flask import Flask from .entry import entrybp -from .parse_error import parseerrbp -from .parse_success import parsesuccessbp +from .parse import parsebp def create_app(instance_path): """The application factory""" @@ -16,6 +15,5 @@ def create_app(instance_path): # setup blueprints app.register_blueprint(entrybp, url_prefix="/") - app.register_blueprint(parseerrbp, url_prefix="/error") - app.register_blueprint(parsesuccessbp, url_prefix="/success") + app.register_blueprint(parsebp, url_prefix="/parse") return app |