diff --git a/autosort.py b/autosort.py index 1b3347d..b141f98 100644 --- a/autosort.py +++ b/autosort.py @@ -45,7 +45,7 @@ def command(profile, dry_run, verbose): print(f"Automatically matched {len(new)} transactions") if not dry_run: - session.bulk_save_object(new) + session.bulk_save_objects(new) session.commit()