def onLeech(self, card: Card | None = None) -> None: # for now s = tr.studying_card_was_a_leech() # v3 scheduler doesn't report this if card and card.queue < 0: s += f" {tr.studying_it_has_been_suspended()}" tooltip(s)
def onLeech(self, card: Card) -> None: # for now s = tr.studying_card_was_a_leech() if card.queue < 0: s += f" {tr.studying_it_has_been_suspended()}" tooltip(s)