mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-29 18:10:46 +02:00
funzt
This commit is contained in:
@ -94,7 +94,6 @@ def insert_to_pg(query, data):
|
|||||||
cursor = get_postgres_cursor()
|
cursor = get_postgres_cursor()
|
||||||
connection = cursor.connection
|
connection = cursor.connection
|
||||||
|
|
||||||
print(f"Inserting {len(data)} rows...")
|
|
||||||
for d in data:
|
for d in data:
|
||||||
try:
|
try:
|
||||||
cursor.execute(query, d)
|
cursor.execute(query, d)
|
||||||
|
Reference in New Issue
Block a user