mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
don't clobber deck modified when expired cards on open
This commit is contained in:
parent
1e275db81d
commit
ebf83d898e
1 changed files with 0 additions and 3 deletions
|
@ -2632,9 +2632,6 @@ class DeckStorage(object):
|
||||||
deck.checkDue()
|
deck.checkDue()
|
||||||
if ((oldc != deck.failedSoonCount + deck.revCount + deck.newCount) or
|
if ((oldc != deck.failedSoonCount + deck.revCount + deck.newCount) or
|
||||||
deck.modifiedSinceSave()):
|
deck.modifiedSinceSave()):
|
||||||
# we don't want the deck marked as modified, but we don't want to
|
|
||||||
# bump the mod time either
|
|
||||||
deck.modified = deck.lastLoaded
|
|
||||||
deck.s.commit()
|
deck.s.commit()
|
||||||
return deck
|
return deck
|
||||||
Deck = staticmethod(Deck)
|
Deck = staticmethod(Deck)
|
||||||
|
|
Loading…
Reference in a new issue