Update customstudy.py

This commit is contained in:
Damien Elmes 2020-07-13 21:24:18 +10:00 committed by GitHub
parent d6d952d0fd
commit 2af1d68b05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ class CustomStudy(QDialog):
new, self.conf["new"]["perDay"] - self.deck["newToday"][1] new, self.conf["new"]["perDay"] - self.deck["newToday"][1]
) )
newExceeding = min(new, new - newUnderLearning) newExceeding = min(new, new - newUnderLearning)
tit = _("New cards in deck over today's limit: %s") % plus(newExceeding) tit = _("New cards in deck over today limit: %s") % plus(newExceeding)
pre = _("Increase today's new card limit by") pre = _("Increase today's new card limit by")
sval = min(new, self.deck.get("extendNew", 10)) sval = min(new, self.deck.get("extendNew", 10))
smin = -DYN_MAX_SIZE smin = -DYN_MAX_SIZE