fix typo
This commit is contained in:
parent
6882ca642a
commit
0ca55353fa
@ -759,7 +759,7 @@ class AnkiConnect:
|
|||||||
else:
|
else:
|
||||||
date, ivl = self.collection().db.all('select id/1000.0, ivl from revlog where cid = ?', card)[-1]
|
date, ivl = self.collection().db.all('select id/1000.0, ivl from revlog where cid = ?', card)[-1]
|
||||||
if ivl >= -1200:
|
if ivl >= -1200:
|
||||||
duo.append(bool(self.findCards('cid:{} is:due'.format(card))))
|
due.append(bool(self.findCards('cid:{} is:due'.format(card))))
|
||||||
else:
|
else:
|
||||||
due.append(date - ivl <= time())
|
due.append(date - ivl <= time())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user