fix mnemosyne import of due cards

This commit is contained in:
Damien Elmes 2008-11-14 16:09:04 +09:00
parent 408c04d41f
commit 9b224263a9

View file

@ -170,6 +170,7 @@ where factId in (%s)""" % ",".join([str(s) for s in factIds]))
data['due'] = self._now data['due'] = self._now
self._now += .00001 self._now += .00001
data.update(card.__dict__) data.update(card.__dict__)
data['combinedDue'] = data['due']
return data return data
def stripInvalid(self, cards): def stripInvalid(self, cards):