if the user has relearn failed on, show the learn interval

This commit is contained in:
Damien Elmes 2011-04-21 12:51:20 +09:00
parent add2e0aaa9
commit adb600e94d

View file

@ -662,6 +662,8 @@ queue = 2 %s and due <= :lim order by %s limit %d""" % (
elif ease == 1:
# lapsed
conf = self._cardConf(card)['lapse']
if conf['relearn']:
return conf['delays'][0]*60
return self._nextLapseIvl(card, conf)*86400
else:
# review