mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
don't report conflicts when decks have same mod time
This commit is contained in:
parent
a4e3a9fa95
commit
5fc33ab143
1 changed files with 2 additions and 1 deletions
|
@ -159,7 +159,8 @@ class Sync(QThread):
|
|||
remoteSync = proxy._lastSync()
|
||||
minSync = min(localSync, remoteSync)
|
||||
self.conflictResolution = None
|
||||
if minSync > 0 and localMod > minSync and remoteMod > minSync:
|
||||
if (localMod != remoteMod and minSync > 0 and
|
||||
localMod > minSync and remoteMod > minSync):
|
||||
self.emit(SIGNAL("syncConflicts"), syncName)
|
||||
while not self.conflictResolution:
|
||||
time.sleep(0.2)
|
||||
|
|
Loading…
Reference in a new issue