From 834b5ace7b70454444114f6c9f1c5bae7a506000 Mon Sep 17 00:00:00 2001 From: Sudarshan Gaikaiwari Date: Wed, 21 Feb 2018 07:28:28 -0600 Subject: [PATCH] Calls onSync to prevent the corruption of collection message --- AnkiConnect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AnkiConnect.py b/AnkiConnect.py index 5280dd4..5a96d47 100644 --- a/AnkiConnect.py +++ b/AnkiConnect.py @@ -948,7 +948,7 @@ class AnkiBridge: timer.start(1000) # 1s should be enough to allow the response to be sent. def sync(self): - self.window()._sync() + self.window().onSync() # # AnkiConnect