mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-28 17:50:56 +02:00
funzt
This commit is contained in:
parent
d93bd4bec1
commit
b17aed2d37
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user