diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..b22709d --- /dev/null +++ b/TODO.md @@ -0,0 +1,6 @@ +TODO: add name for credits? +TODO: display name in svg? + +TODO: remove new from homepage? +or +TODO: add per-new level in the xquisite branches (this makes more sense!) diff --git a/exquisite_branch/__init__.py b/exquisite_branch/__init__.py index 1be4731..a24a774 100644 --- a/exquisite_branch/__init__.py +++ b/exquisite_branch/__init__.py @@ -1,6 +1,7 @@ import os from flask import Flask + class PrefixMiddleware(object): def __init__(self, app, prefix=''): @@ -25,7 +26,6 @@ def create_app(test_config=None): SECRET_KEY='dev', DATABASE=os.path.join(app.instance_path, 'exquisite'), ) - if test_config is None: # load the instance config, if it exists, when not testing @@ -33,7 +33,7 @@ def create_app(test_config=None): else: # load the test config if passed in app.config.from_mapping(test_config) - + # ensure the instance folder exists try: os.makedirs(app.instance_path) @@ -55,7 +55,6 @@ def create_app(test_config=None): from . import home app.register_blueprint(home.bp) - app.wsgi_app = PrefixMiddleware(app.wsgi_app, prefix='/soupboat/xquisite') - + return app