summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah BrĂ¼chert <jbb@kaidan.im>2024-03-28 18:59:12 +0100
committerJonah BrĂ¼chert <jbb@kaidan.im>2024-03-28 18:59:12 +0100
commit60a22feecbc2906dfb810276019962763f6926e7 (patch)
tree7325cb486e199847e2a839b73a4b932b7fb0cf8a
parent70b7319168f6ff8b705dffec79abd7c544c7e4b1 (diff)
downloadweb-60a22feecbc2906dfb810276019962763f6926e7.tar.gz
web-60a22feecbc2906dfb810276019962763f6926e7.tar.bz2
web-60a22feecbc2906dfb810276019962763f6926e7.zip
manage: Fix loading config
-rwxr-xr-xmanage.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/manage.py b/manage.py
index af6b565..a937a5f 100755
--- a/manage.py
+++ b/manage.py
@@ -7,7 +7,7 @@ from accounts.forms import RegisterForm
from accounts.utils.console import ConsoleForm, TablePrinter
from accounts.backend.mail.dummy import DummyBackend as DummyMailBackend
-from accounts import create_app
+from accounts import create_app, load_config
class ListServices():
@@ -91,6 +91,8 @@ def main():
app = create_app()
with app.app_context():
+ load_config(app, args.config)
+
if args.subcommand == "list-services":
ListServices().run()
elif args.subcommand == "list-users":