mirror of
https://github.com/ankitects/anki.git
synced 2025-11-27 06:57:11 -05:00
fix lint
This commit is contained in:
parent
4a25853c57
commit
7bb7d5391b
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ def entsToTxt(html: str) -> str:
|
||||||
|
|
||||||
# legacy function
|
# legacy function
|
||||||
def bodyClass(col, card) -> str:
|
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")
|
print("bodyClass() deprecated")
|
||||||
return theme_manager.body_classes_for_card_ord(card.ord)
|
return theme_manager.body_classes_for_card_ord(card.ord)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue