mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
update runtime Python version check
This commit is contained in:
parent
e357dbf6b3
commit
e9d0e672cf
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ from aqt import gui_hooks
|
||||||
from aqt.qt import *
|
from aqt.qt import *
|
||||||
from aqt.utils import TR, locale_dir, tr
|
from aqt.utils import TR, locale_dir, tr
|
||||||
|
|
||||||
if sys.version_info[0] < 3 or sys.version_info[1] < 7:
|
if sys.version_info[0] < 3 or sys.version_info[1] < 9:
|
||||||
raise Exception("Anki requires Python 3.7+")
|
raise Exception("Anki requires Python 3.9+")
|
||||||
|
|
||||||
# ensure unicode filenames are supported
|
# ensure unicode filenames are supported
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue