mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
fix py issues
This commit is contained in:
parent
e46d98e2e0
commit
9d3451f97b
1 changed files with 2 additions and 1 deletions
|
@ -1254,7 +1254,7 @@ class SvelteReviewer(Reviewer):
|
|||
"due": due,
|
||||
}
|
||||
|
||||
return [but(ease, label) for ease, label in self._answerButtonList()]
|
||||
return [but(ease, label) for ease, label in self._answerButtonList()] # type: ignore
|
||||
|
||||
def _remaining(self) -> str:
|
||||
if not self.mw.col.conf["dueCounts"]:
|
||||
|
@ -1262,6 +1262,7 @@ class SvelteReviewer(Reviewer):
|
|||
|
||||
idx, counts = self._v3.counts()
|
||||
self.bottom.web.eval(f"_updateRemaining({json.dumps(counts)},{idx})")
|
||||
return ""
|
||||
|
||||
def _showAnswerButton(self) -> None:
|
||||
if self.card.should_show_timer():
|
||||
|
|
Loading…
Reference in a new issue