mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
don't bother checking if temp suspended cards are modified or not
This commit is contained in:
parent
218f823037
commit
9f55c831c0
1 changed files with 3 additions and 6 deletions
|
@ -3625,12 +3625,9 @@ class DeckStorage(object):
|
|||
if deck.delay1 > 7:
|
||||
deck.delay1 = 0
|
||||
# unsuspend buried/rev early
|
||||
ids = deck.s.column0(
|
||||
"select id from cards where type > 2")
|
||||
if ids:
|
||||
deck.s.statement(
|
||||
"update cards set type = relativeDelay where type > 2")
|
||||
deck.s.commit()
|
||||
deck.s.statement(
|
||||
"update cards set type = relativeDelay where type > 2")
|
||||
deck.s.commit()
|
||||
# check if deck has been moved, and disable syncing
|
||||
deck.checkSyncHash()
|
||||
# determine starting factor for new cards
|
||||
|
|
Loading…
Reference in a new issue