Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/mini_format_pack/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from aqt.utils import getOnlyText
from anki.hooks import addHook
from anki.lang import _
from anki.utils import isWin, isMac
from anki.utils import is_win, is_mac

from .consts import addon_path

Expand Down Expand Up @@ -137,7 +137,7 @@ def _wrapWithBgColour(editor, color):
}
""" % (color, color))

if isWin or isMac:
if is_win or is_mac:
# remove all Apple style classes, which is needed for
# text highlighting on platforms other than Linux
editor.web.eval("""
Expand Down