1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-24 16:44:19 +00:00

Add missing space in page_query

This commit is contained in:
Steffo 2017-09-21 08:50:26 +02:00
parent 63ced4894c
commit 7070625540

View file

@ -936,7 +936,7 @@ def page_query():
return render_template("query.htm", pagetype="query")
else:
try:
result = db.engine.execute("SELECT" + request.form["query"] + ";")
result = db.engine.execute("SELECT " + request.form["query"] + ";")
except Exception as e:
return render_template("query.htm", query=request.form["query"], error=repr(e), pagetype="query")
return render_template("query.htm", query=request.form["query"], result=result,