Skip to content
Snippets Groups Projects
Commit bbc2026d authored by Andreas Valder's avatar Andreas Valder
Browse files

missing :

parent 4b78ad72
Branches
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ def query(operation, *params, delim="sep"): ...@@ -61,7 +61,7 @@ def query(operation, *params, delim="sep"):
operation, params = fix_query(operation, params) operation, params = fix_query(operation, params)
cur = get_dbcursor() cur = get_dbcursor()
cur.execute(operation, params) cur.execute(operation, params)
try try:
rows = cur.fetchall() rows = cur.fetchall()
except mysql.connector.errors.InterfaceError as ie: except mysql.connector.errors.InterfaceError as ie:
if ie.msg == 'No result set to fetch from.': if ie.msg == 'No result set to fetch from.':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment