From bbc2026d5d4b7bd3d3f503f38023c6067acef918 Mon Sep 17 00:00:00 2001 From: Andreas <andreasv@fsmpi.rwth-aachen.de> Date: Sun, 9 Oct 2016 23:55:18 +0200 Subject: [PATCH] missing : --- db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.py b/db.py index 6678966..94f8bdc 100644 --- a/db.py +++ b/db.py @@ -61,7 +61,7 @@ def query(operation, *params, delim="sep"): operation, params = fix_query(operation, params) cur = get_dbcursor() cur.execute(operation, params) - try + try: rows = cur.fetchall() except mysql.connector.errors.InterfaceError as ie: if ie.msg == 'No result set to fetch from.': -- GitLab