mirror of
https://github.com/Steffo99/estus.git
synced 2024-11-21 15:14:19 +00:00
Add missing space in page_query
This commit is contained in:
parent
63ced4894c
commit
7070625540
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue