mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -04:00
only sync if deck sync set
This commit is contained in:
parent
9363e5f6f4
commit
301c8476a1
1 changed files with 2 additions and 1 deletions
|
@ -561,7 +561,8 @@ To upgrade an old deck, download Anki 0.9.8.7."""))
|
|||
return
|
||||
if uprecent:
|
||||
self.updateRecentFiles(self.deck.path)
|
||||
if sync and self.config['syncOnLoad']:
|
||||
if (sync and self.config['syncOnLoad']
|
||||
and self.deck.syncName):
|
||||
if self.syncDeck(interactive=False):
|
||||
return True
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue