diff options
Diffstat (limited to 'jimbrella/web.py')
-rw-r--r-- | jimbrella/web.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jimbrella/web.py b/jimbrella/web.py index 479c22a..95d1020 100644 --- a/jimbrella/web.py +++ b/jimbrella/web.py @@ -2,13 +2,13 @@ import logging from flask import Flask, render_template from .admin import bp as admin_bp from .auth import bp as auth_bp -from .config import * +from .config import config # this logger is shared across modules # logging.basicConfig(filename=LOG_PATH, level=logging.DEBUG) app = Flask("jimbrella") -app.secret_key = FLASK_SECRET_KEY +app.secret_key = config.get("security", "secret_key") @app.route("/") |