mirror of
https://github.com/ankitects/anki.git
synced 2026-01-14 06:23:57 -05:00
fix lint
This commit is contained in:
parent
a9749bbcb1
commit
00a0c539a3
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ def entsToTxt(html: str) -> str:
|
|||
|
||||
# legacy function
|
||||
def bodyClass(col, card) -> str:
|
||||
from aqt.theme import theme_manager
|
||||
from aqt.theme import theme_manager # type: ignore # pylint: disable=import-error
|
||||
|
||||
print("bodyClass() deprecated")
|
||||
return theme_manager.body_classes_for_card_ord(card.ord)
|
||||
|
|
|
|||
Loading…
Reference in a new issue