mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
we require python2.6 now
This commit is contained in:
parent
461e240d53
commit
581830840c
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ import sys as _sys, httplib2 as _httplib2, \
|
|||
|
||||
if _sys.version_info[0] > 2:
|
||||
raise Exception("Anki should be run with Python 2")
|
||||
elif _sys.version_info[1] < 5:
|
||||
raise Exception("Anki requires Python 2.5+")
|
||||
elif _sys.version_info[1] < 6:
|
||||
raise Exception("Anki requires Python 2.6+")
|
||||
elif _sys.getfilesystemencoding().lower() in ("ascii", "ansi_x3.4-1968"):
|
||||
raise Exception("Anki requires a UTF-8 locale.")
|
||||
elif _httplib2.__version__ < "0.7.0":
|
||||
|
|
Loading…
Reference in a new issue