diff --git a/src/editor_field_history/editor_field_history.py b/src/editor_field_history/editor_field_history.py index ba55e4c..656a8fb 100644 --- a/src/editor_field_history/editor_field_history.py +++ b/src/editor_field_history/editor_field_history.py @@ -36,7 +36,7 @@ from anki.hooks import addHook from anki import version -ANKI21 = version.startswith("2.1") +ANKI21 = version.startswith("2.1") or int(version.split(".")[0]) >= 23 if ANKI21: