mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
fix media sync thinking >25 changes is a concurrent update
This commit is contained in:
parent
0f6bc861d4
commit
ba8ed39e13
1 changed files with 1 additions and 0 deletions
|
@ -803,6 +803,7 @@ class MediaSyncer(object):
|
|||
|
||||
if serverLastUsn - processedCnt == lastUsn:
|
||||
self.col.log("lastUsn in sync, updating local")
|
||||
lastUsn = serverLastUsn
|
||||
self.col.media.setLastUsn(serverLastUsn) # commits
|
||||
else:
|
||||
self.col.log("concurrent update, skipping usn update")
|
||||
|
|
Loading…
Reference in a new issue