fix python version check
This commit is contained in:
parent
c392418ba7
commit
36ed23e103
@ -4,10 +4,8 @@
|
||||
|
||||
import sys
|
||||
|
||||
if sys.version_info[0] < 3:
|
||||
raise Exception("Anki should be run with Python 3")
|
||||
elif sys.version_info[1] < 4:
|
||||
raise Exception("Anki requires Python 3.4+")
|
||||
if sys.version_info[0] < 3 or sys.version_info[1] < 5:
|
||||
raise Exception("Anki requires Python 3.5+")
|
||||
|
||||
version="2.1.0beta1" # build scripts grep this line, so preserve formatting
|
||||
from anki.storage import Collection
|
||||
|
Loading…
Reference in New Issue
Block a user