failed cards at end if !delay0 && !failedCardMax

This commit is contained in:
Damien Elmes 2010-12-07 16:55:03 +09:00
parent a383223e02
commit 0194296839

View file

@ -2977,7 +2977,7 @@ where key = :key""", key=key, value=value):
if d == 600 and self.failedCardMax == 20: if d == 600 and self.failedCardMax == 20:
return 0 return 0
return 5 return 5
if d == 0: if d == 0 and self.failedCardMax == 0:
return 1 return 1
elif d == 600: elif d == 600:
return 2 return 2