From f9967bad71ed2f828dd4273f0f22de5cd463a57e Mon Sep 17 00:00:00 2001
From: Felix Breidenstein <mail@felixbreidenstein.de>
Date: Fri, 24 Apr 2020 00:29:19 +0200
Subject: [PATCH] autosort: Fix typo in function name

---
 autosort.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()