make sure user has saved deck first

This commit is contained in:
Damien Elmes 2009-01-10 18:12:45 +09:00
parent dd8d4b3d4f
commit bf5865bc7b

View file

@ -1404,6 +1404,9 @@ day = :d""", d=yesterday)
p=self.config['syncPassword'] p=self.config['syncPassword']
if not u or not p: if not u or not p:
return return
if self.deck:
if not self.deck.path:
self.onSave()
if self.deck and not self.deck.syncName: if self.deck and not self.deck.syncName:
if interactive: if interactive:
self.onDeckProperties() self.onDeckProperties()