mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
fix deckPath=none error for clockoff case
This commit is contained in:
parent
3a9bff8e11
commit
39ed7ff44e
1 changed files with 1 additions and 1 deletions
|
@ -2240,7 +2240,7 @@ Are you sure?""" % deckName),
|
|||
# after sync all, so refresh browser list
|
||||
self.browserLastRefreshed = 0
|
||||
self.moveToState("noDeck")
|
||||
elif self.loadAfterSync:
|
||||
elif self.loadAfterSync and self.deckPath:
|
||||
if self.loadAfterSync == 2:
|
||||
name = re.sub("[<>]", "", self.syncName)
|
||||
p = os.path.join(self.documentDir, name + ".anki")
|
||||
|
|
Loading…
Reference in a new issue