diff -r a24b150674bf -r 6ce477e2df12 pymove3d.py --- a/pymove3d.py Wed Dec 11 08:16:07 2013 +0100 +++ b/pymove3d.py Mon Dec 16 05:05:01 2013 +0100 @@ -11,14 +11,13 @@ from flask.ext.babel import Babel app = Flask(__name__) -babel = Babel(app) +#babel = Babel(app) -@babel.localeselector -def get_locale(): - return "en" #request.accept_languages.best_match(LANGUAGES.keys()) +#@babel.localeselector +#def get_locale(): +# return "en" #request.accept_languages.best_match(LANGUAGES.keys()) @app.route("/") - @app.route("/index") def index(): return render_template("index.html") @@ -52,6 +51,6 @@ return render_template("404.html"), 404 if __name__ == "__main__": - app.run(host='localhost', port=5014, debug=True) + app.run(host='localhost', port=5018, debug=False)