forked from CMS/memberPlumbing
sqlExport: Just insert transactions, instead of trying to upsert
This fixes an issue that seems to have only manifested on newer Python versions (maybe >3.9, after update to Debian 12)
This commit is contained in:
parent
e71fd48975
commit
936effe5c7
@ -76,7 +76,7 @@ def do_import(config):
|
|||||||
)
|
)
|
||||||
|
|
||||||
for transaction in transactions:
|
for transaction in transactions:
|
||||||
Transaction.from_csv_dict(transaction).magic_save()
|
Transaction.from_csv_dict(transaction).insert_instance().execute()
|
||||||
|
|
||||||
# TODO: folders, levels, addons
|
# TODO: folders, levels, addons
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user