tsteuer пре 4 година
родитељ
комит
4ab964141b
1 измењених фајлова са 1 додато и 2 уклоњено
  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))