mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
fix can't load deck error
This commit is contained in:
parent
0c0c8a180c
commit
0aa58beb91
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ class AnkiQt(QMainWindow):
|
||||||
self.updateRecentFiles(self.deck.path)
|
self.updateRecentFiles(self.deck.path)
|
||||||
if sync and self.config['syncOnLoad']:
|
if sync and self.config['syncOnLoad']:
|
||||||
if self.syncDeck(interactive=False):
|
if self.syncDeck(interactive=False):
|
||||||
return
|
return True
|
||||||
try:
|
try:
|
||||||
self.rebuildQueue()
|
self.rebuildQueue()
|
||||||
except OperationalError:
|
except OperationalError:
|
||||||
|
|
Loading…
Reference in a new issue