pymove3d.py
changeset 141 ea70f3d81676
parent 123 9eb7837f7332
child 142 6dea01810014
     1.1 --- a/pymove3d.py	Sat Jan 18 16:29:40 2014 +0100
     1.2 +++ b/pymove3d.py	Sat Jan 18 20:06:19 2014 +0100
     1.3 @@ -11,6 +11,7 @@
     1.4  from flask.ext.babel import Babel
     1.5  
     1.6  from config import LANGUAGES
     1.7 +from sayings import get_saying
     1.8  
     1.9  LANGUAGE_SELECTED = "de"
    1.10  #ToDo after engelish is implemented set LANGUAGE_SELECTED = None
    1.11 @@ -27,7 +28,10 @@
    1.12  @app.route("/")
    1.13  @app.route("/index")
    1.14  def index():
    1.15 -    return render_template(get_locale() + "/index.html")
    1.16 +    saying, author = get_saying()
    1.17 +    return render_template(get_locale() + "/index.html", 
    1.18 +                           saying = saying,
    1.19 +                           author = author)
    1.20  
    1.21  @app.route('/de')
    1.22  def de():
Impressum Datenschutzerklärung