Include v2 scheduler in "no longer supported" message

This commit is contained in:
Damien Elmes 2023-09-25 09:39:22 +10:00
parent c788f8ac8a
commit 4dc9890845

View file

@ -17,10 +17,10 @@ class DummyScheduler(SchedulerBaseWithLegacy):
pass pass
def getCard(self) -> Card | None: def getCard(self) -> Card | None:
raise Exception("v1 scheduler no longer supported") raise Exception("v1/v2 scheduler no longer supported")
def answerCard(self, card: Card, ease: int) -> None: def answerCard(self, card: Card, ease: int) -> None:
raise Exception("v1 scheduler no longer supported") raise Exception("v1/v2 scheduler no longer supported")
def _is_finished(self) -> bool: def _is_finished(self) -> bool:
return False return False