mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
now all clients are updated, set delay1 = 0 if 600
This commit is contained in:
parent
eb0bb89f44
commit
ab9451253c
1 changed files with 1 additions and 2 deletions
|
@ -3741,8 +3741,7 @@ class DeckStorage(object):
|
|||
update cards set type = type - 3 where type between 0 and 2 and priority = -3""")
|
||||
# - new delay1 handling
|
||||
if deck.delay1 > 7:
|
||||
# we treat 600==0 to avoid breaking older clients
|
||||
deck.delay1 = 600
|
||||
deck.delay1 = 0
|
||||
# unsuspend buried/rev early - can remove priorities in the future
|
||||
ids = deck.s.column0(
|
||||
"select id from cards where type > 2 or priority between -2 and -1")
|
||||
|
|
Loading…
Reference in a new issue