From 936effe5c78aa06a728ed7a6f39363e03037753d Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 22 Sep 2023 22:07:23 -0400 Subject: [PATCH] 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) --- memberPlumbing/sqlExport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memberPlumbing/sqlExport.py b/memberPlumbing/sqlExport.py index 59dc6ff..e1a4cba 100755 --- a/memberPlumbing/sqlExport.py +++ b/memberPlumbing/sqlExport.py @@ -76,7 +76,7 @@ def do_import(config): ) for transaction in transactions: - Transaction.from_csv_dict(transaction).magic_save() + Transaction.from_csv_dict(transaction).insert_instance().execute() # TODO: folders, levels, addons