Browse Source

undo changes

tsteuer 4 years ago
parent
commit
4ab964141b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      cdplib/db_handlers/SQLHandler.py

+ 1 - 2
cdplib/db_handlers/SQLHandler.py

@@ -216,8 +216,7 @@ class SQLHandler:
         for sub_query in sqlparse.split(query):
             if len(sub_query) > 0:
                 try:
-                    result = connection.execute(sub_query, multi=True)
-                    return result
+                    connection.execute(sub_query, multi=True)
                 except Exception as e:
                     errors.append(str(e))