aboutsummaryrefslogtreecommitdiff
path: root/budget/web.py
diff options
context:
space:
mode:
Diffstat (limited to 'budget/web.py')
-rw-r--r--budget/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/budget/web.py b/budget/web.py
index 049fae9..36a198d 100644
--- a/budget/web.py
+++ b/budget/web.py
@@ -11,6 +11,7 @@ from utils import get_billform_for, requires_auth
# create the application, initialize stuff
app = Flask(__name__)
+app.config.from_object("default_settings")
mail = Mail()
@app.route("/")
@@ -200,7 +201,6 @@ def debug():
def main():
- app.config.from_object("default_settings")
# db
db.init_app(app)
db.app = app