From 471e3aead4abaa9f5e29b509207def18619dabe8 Mon Sep 17 00:00:00 2001 From: Karsten Lehmann Date: Fri, 28 Aug 2020 17:05:28 +0200 Subject: [PATCH] Removed haveDirty check from sync code The dirty field does not exist in the media table anymore. --- src/ankisyncd/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ankisyncd/sync.py b/src/ankisyncd/sync.py index f5b97ca..1e8fd06 100644 --- a/src/ankisyncd/sync.py +++ b/src/ankisyncd/sync.py @@ -697,7 +697,7 @@ class MediaSyncer(object): lastUsn = self.col.media.lastUsn() ret = self.server.begin() srvUsn = ret['usn'] - if lastUsn == srvUsn and not self.col.media.haveDirty(): + if lastUsn == srvUsn: return "noChanges" # loop through and process changes from server