This commit is contained in:
callebtc 2022-07-24 22:13:05 +02:00
parent d93bd4bec1
commit b17aed2d37

View File

@ -94,7 +94,6 @@ def insert_to_pg(query, data):
cursor = get_postgres_cursor()
connection = cursor.connection
print(f"Inserting {len(data)} rows...")
for d in data:
try:
cursor.execute(query, d)