mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04: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
|
||||
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