From d9c7977a59acc55342cb2dbf7f9649df9cc56472 Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Sat, 15 Oct 2011 02:24:02 +0200 Subject: fix a bit the UI (identifier on bill's list) --- budget/run.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'budget/run.py') diff --git a/budget/run.py b/budget/run.py index 9bb07f4..da1d453 100644 --- a/budget/run.py +++ b/budget/run.py @@ -1,8 +1,9 @@ -from web import main, db, mail, babel +from web import main, db, mail from api import api import os from flask import * +from flaskext.babel import Babel app = Flask(__name__) app.config.from_object("default_settings") @@ -19,7 +20,7 @@ db.create_all() mail.init_app(app) # translations -babel.init_app(app) +babel = Babel(app) @babel.localeselector def get_locale(): -- cgit v1.1