diff --git a/db.py b/db.py index 6678966139ead62fc041bc5cfc53d7a8e48bad8b..94f8bdc30ff2c2c5c036941ee7f674fb18b14e46 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.':