mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -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': {
|
'lapse': {
|
||||||
'delays': [0.5, 3, 10],
|
'delays': [0.5, 3, 10],
|
||||||
'mult': 0,
|
'mult': 0,
|
||||||
|
'minInt': 1,
|
||||||
'relearn': True,
|
'relearn': True,
|
||||||
'leechFails': 16,
|
'leechFails': 16,
|
||||||
# one of [suspend], [tagonly]
|
# [type, data], where type 0=suspend, 1=tagonly
|
||||||
'leechAction': ["suspend"],
|
'leechAction': [0],
|
||||||
},
|
},
|
||||||
'cram': {
|
'cram': {
|
||||||
'delays': [0.5, 3, 10],
|
'delays': [0.5, 3, 10],
|
||||||
'resched': True,
|
'resched': True,
|
||||||
'reset': True,
|
'reset': True,
|
||||||
'mult': 0,
|
'mult': 0,
|
||||||
|
'minInt': 1,
|
||||||
},
|
},
|
||||||
'rev': {
|
'rev': {
|
||||||
'ease4': 1.3,
|
'ease4': 1.3,
|
||||||
|
|
|
@ -532,7 +532,7 @@ queue = 2 %s and due <= :lim order by %s limit %d""" % (
|
||||||
f.tags.append("leech")
|
f.tags.append("leech")
|
||||||
f.flush()
|
f.flush()
|
||||||
# handle
|
# handle
|
||||||
if conf['leechAction'][0] == "suspend":
|
if conf['leechAction'][0] == 0:
|
||||||
self.suspendCards([card.id])
|
self.suspendCards([card.id])
|
||||||
card.queue = -1
|
card.queue = -1
|
||||||
# notify UI
|
# notify UI
|
||||||
|
|
Loading…
Reference in a new issue