mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
Forgot to return the new fact from initializeNewFact
This commit is contained in:
parent
f3b25008aa
commit
c234423f04
1 changed files with 1 additions and 0 deletions
|
@ -152,6 +152,7 @@ question or answer on all cards."""), parent=self)
|
||||||
def initializeNewFact(self, old_fact):
|
def initializeNewFact(self, old_fact):
|
||||||
f = self.parent.deck.newFact()
|
f = self.parent.deck.newFact()
|
||||||
f.tags = self.parent.deck.lastTags
|
f.tags = self.parent.deck.lastTags
|
||||||
|
return f
|
||||||
|
|
||||||
def clearOldFact(self, old_fact):
|
def clearOldFact(self, old_fact):
|
||||||
f = self.initializeNewFact(old_fact)
|
f = self.initializeNewFact(old_fact)
|
||||||
|
|
Loading…
Reference in a new issue