Fix python version check

This commit is contained in:
Sambhav Kothari
2017-05-09 14:40:44 +05:30
parent 38976a54f3
commit 6daf4e9b6e

View File

@@ -12,8 +12,8 @@ from io import StringIO
from picard import __version__
if sys.version_info < (2, 7):
print("*** You need Python 2.7 or higher to use Picard.")
if sys.version_info < (3, 5):
sys.exit("ERROR: You need Python 3.5 or higher to use Picard.")
args = {}