mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32: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
|
return
|
||||||
if uprecent:
|
if uprecent:
|
||||||
self.updateRecentFiles(self.deck.path)
|
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):
|
if self.syncDeck(interactive=False):
|
||||||
return True
|
return True
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue