summaryrefslogtreecommitdiffstats
path: root/bitvend
diff options
context:
space:
mode:
Diffstat (limited to 'bitvend')
-rw-r--r--bitvend/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitvend/__init__.py b/bitvend/__init__.py
index 0513078..2ab00a6 100644
--- a/bitvend/__init__.py
+++ b/bitvend/__init__.py
@@ -30,6 +30,7 @@ def bitvend_user_loader(username, profile=None):
def create_app():
app = flask.Flask(__name__)
app.config.from_object('bitvend.default_settings')
+ print('Loading extra settings from {}...'.format(os.environ.get('BITVEND_SETTINGS', '')))
app.config.from_pyfile(os.environ.get('BITVEND_SETTINGS', ''), silent=True)
# Use proper proxy headers, this fixes invalid scheme in