mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 17:26:36 -04:00
add small sleep after multi sync
This commit is contained in:
parent
e1ecae0ecb
commit
3a9bff8e11
1 changed files with 2 additions and 0 deletions
|
@ -109,6 +109,8 @@ sync was aborted. Please report this error.""")
|
||||||
self.syncDeck(deck=d)
|
self.syncDeck(deck=d)
|
||||||
except SyncError, e:
|
except SyncError, e:
|
||||||
return
|
return
|
||||||
|
self.setStatus(_("Sync Finished."), 0)
|
||||||
|
time.sleep(1)
|
||||||
self.emit(SIGNAL("syncFinished"))
|
self.emit(SIGNAL("syncFinished"))
|
||||||
|
|
||||||
def syncDeck(self, deck=None):
|
def syncDeck(self, deck=None):
|
||||||
|
|
Loading…
Reference in a new issue