Removed haveDirty check from sync code

The dirty field does not exist in the media table anymore.
This commit is contained in:
Karsten Lehmann 2020-08-28 17:05:28 +02:00
parent 537bbe89c9
commit 471e3aead4
No known key found for this signature in database
GPG Key ID: 6C34E8199743C270

View File

@ -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