doch * eingefügt Z18
This commit is contained in:
parent
1db3bbd488
commit
9777a0e9b9
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ def start():
|
||||||
@app.route("/raum/<int:id>", methods=["GET", "POST"])
|
@app.route("/raum/<int:id>", methods=["GET", "POST"])
|
||||||
def raum(id):
|
def raum(id):
|
||||||
db = get_db()
|
db = get_db()
|
||||||
r = db.execute("SELECT name, beschreibung FROM raeume WHERE id=?", (id,)).fetchone()
|
r = db.execute("SELECT * FROM raeume WHERE id=?", (id,)).fetchone()
|
||||||
|
|
||||||
if r["raetsel_frage"]: # Rätselraum?
|
if r["raetsel_frage"]: # Rätselraum?
|
||||||
if request.method == "POST":
|
if request.method == "POST":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue