mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
when reloading card, make sure cache is discarded
This commit is contained in:
parent
572fe6041a
commit
5619959b5a
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,8 @@ class Card(object):
|
|||
self.edue,
|
||||
self.data) = self.deck.db.first(
|
||||
"select * from cards where id = ?", self.id)
|
||||
self._qa = None
|
||||
self._rd = None
|
||||
|
||||
def flush(self):
|
||||
self.mod = intTime()
|
||||
|
|
Loading…
Reference in a new issue