Fix year component of Anki version

This commit is contained in:
Philipp Matthias Schäfer 2024-10-06 17:10:57 +02:00 committed by Alex Yatskov
parent c89dbf2062
commit 6eea9f9db4

View File

@ -15,7 +15,7 @@
import aqt import aqt
required_anki_version = (26, 6, 3) required_anki_version = (24, 6, 3)
anki_version = tuple(int(segment) for segment in aqt.appVersion.split(".")) anki_version = tuple(int(segment) for segment in aqt.appVersion.split("."))
if anki_version < required_anki_version: if anki_version < required_anki_version: