aboutsummaryrefslogtreecommitdiff
path: root/budget/web.py
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2011-08-09 19:22:09 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2011-08-09 23:49:44 +0200
commit78914962ed73d33e5291467081010cce2fa2ecfd (patch)
tree12e80faaf473bf0417af41b2da1dd9a3d261adb3 /budget/web.py
parent4b08af56f8c1e6bb25365a5bc691c5bdf3156458 (diff)
downloadihatemoney-mirror-78914962ed73d33e5291467081010cce2fa2ecfd.zip
ihatemoney-mirror-78914962ed73d33e5291467081010cce2fa2ecfd.tar.gz
ihatemoney-mirror-78914962ed73d33e5291467081010cce2fa2ecfd.tar.bz2
Add tests about sending notifications. #7
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