update a few group configs

This commit is contained in:
Damien Elmes 2011-03-29 15:25:42 +09:00
parent 4b9c6fc822
commit e93ded1e04
2 changed files with 5 additions and 3 deletions

View file

@ -14,16 +14,18 @@ defaultConf = {
'lapse': {
'delays': [0.5, 3, 10],
'mult': 0,
'minInt': 1,
'relearn': True,
'leechFails': 16,
# one of [suspend], [tagonly]
'leechAction': ["suspend"],
# [type, data], where type 0=suspend, 1=tagonly
'leechAction': [0],
},
'cram': {
'delays': [0.5, 3, 10],
'resched': True,
'reset': True,
'mult': 0,
'minInt': 1,
},
'rev': {
'ease4': 1.3,

View file

@ -532,7 +532,7 @@ queue = 2 %s and due <= :lim order by %s limit %d""" % (
f.tags.append("leech")
f.flush()
# handle
if conf['leechAction'][0] == "suspend":
if conf['leechAction'][0] == 0:
self.suspendCards([card.id])
card.queue = -1
# notify UI