mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
make sure user has saved deck first
This commit is contained in:
parent
dd8d4b3d4f
commit
bf5865bc7b
1 changed files with 3 additions and 0 deletions
|
@ -1404,6 +1404,9 @@ day = :d""", d=yesterday)
|
|||
p=self.config['syncPassword']
|
||||
if not u or not p:
|
||||
return
|
||||
if self.deck:
|
||||
if not self.deck.path:
|
||||
self.onSave()
|
||||
if self.deck and not self.deck.syncName:
|
||||
if interactive:
|
||||
self.onDeckProperties()
|
||||
|
|
Loading…
Reference in a new issue