mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 08:46:37 -04:00
update a few group configs
This commit is contained in:
parent
4b9c6fc822
commit
e93ded1e04
2 changed files with 5 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue