# HG changeset patch # User Peter Koppatz # Date 1387166701 -3600 # Node ID 6ce477e2df12cbebd3c809d7bf319eab38cd2ffb # Parent a24b150674bf8073f5fcab25042a7d6e46e2a8cd Set debug to false 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) diff -r a24b150674bf -r 6ce477e2df12 templates/theme.html --- a/templates/theme.html Wed Dec 11 08:16:07 2013 +0100 +++ b/templates/theme.html Mon Dec 16 05:05:01 2013 +0100 @@ -67,8 +67,8 @@ {% block jumbotron %}{% endblock %}
- {% block body %}{% endblock %}{% include "footer.html" %} - + {% block body %}{% endblock %} + {% include "footer.html" %}