fix can't load deck error

This commit is contained in:
Damien Elmes 2008-10-15 14:17:23 +09:00
parent 0c0c8a180c
commit 0aa58beb91

View file

@ -429,7 +429,7 @@ class AnkiQt(QMainWindow):
self.updateRecentFiles(self.deck.path)
if sync and self.config['syncOnLoad']:
if self.syncDeck(interactive=False):
return
return True
try:
self.rebuildQueue()
except OperationalError: