tsteuer hace 4 años
padre
commit
4ab964141b
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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))