소스 검색

undo changes

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))