From 70706255407f5267592edd1328447f701223141c Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 21 Sep 2017 08:50:26 +0200 Subject: [PATCH] Add missing space in page_query --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 87336f6..4cfff8b 100644 --- a/server.py +++ b/server.py @@ -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,