mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
set new card modulus on new cards at end deck
This commit is contained in:
parent
af78b0bf94
commit
cdce18f5c0
1 changed files with 2 additions and 0 deletions
|
@ -403,6 +403,8 @@ strftime("%s", "now")+1 from decks)"""))
|
|||
self.newCardModulus = max(2, self.newCardModulus)
|
||||
else:
|
||||
self.newCardModulus = 0
|
||||
else:
|
||||
self.newCardModulus = 0
|
||||
# determine starting factor for new cards
|
||||
self.averageFactor = (self.s.scalar(
|
||||
"select avg(factor) from cards where type = 1")
|
||||
|
|
Loading…
Reference in a new issue