mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-01-04 07:03:44 +01:00
Additional CLI python version checking.
This commit is contained in:
parent
56a60471d2
commit
fd2dddcd30
1 changed files with 2 additions and 2 deletions
|
|
@ -32,8 +32,8 @@ import cookielib as cl
|
|||
|
||||
version="2.20.0"
|
||||
|
||||
if sys.version_info < (2, 5):
|
||||
print 'This program requires Python 2.5 or newer.'
|
||||
if sys.version_info < (2, 5) or sys.version_info > (3,0):
|
||||
print('This program requires Python 2.5 or newer. Python 3 is not supported.')
|
||||
sys.exit(1)
|
||||
|
||||
if sys.version_info >= (2, 7):
|
||||
|
|
|
|||
Loading…
Reference in a new issue