This commit is contained in:
Kovid Goyal 2018-09-10 18:40:39 +05:30
parent b9767b2b92
commit 1011731f51
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -17,8 +17,7 @@ def check_version_info():
# PY3_TODO: Remove check for 'CALIBRE_PY3_PORT' once calibre works with python3
return
raise SystemExit(
'calibre requires python >= 2.7.9 and < 3. Current python version: %s'
% vi)
'calibre requires python >= 2.7.9 and < 3. Current python version: ' + '.'.join(map(str, vi[:3])))
check_version_info()