mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
only check sync status if sync started
This commit is contained in:
parent
71a5f645a8
commit
17eb9015b1
1 changed files with 5 additions and 5 deletions
|
@ -721,7 +721,7 @@ To upgrade an old deck, download Anki 0.9.8.7."""))
|
|||
if self.config['syncOnClose'] and self.deck.syncName:
|
||||
# force save, the user may not have set passwd/etc
|
||||
self.deck.save()
|
||||
self.syncDeck(False, reload=False)
|
||||
if self.syncDeck(False, reload=False):
|
||||
while self.deckPath:
|
||||
self.app.processEvents()
|
||||
time.sleep(0.1)
|
||||
|
|
Loading…
Reference in a new issue