From ee5e630c7e4a173135b8bc8f90ca554f074b0e37 Mon Sep 17 00:00:00 2001 From: Paolo Date: Sat, 28 Sep 2019 21:53:48 +0200 Subject: [PATCH] Added check for python > 3.0 --- gettools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gettools.py b/gettools.py index 470be1a..e23a179 100755 --- a/gettools.py +++ b/gettools.py @@ -88,8 +88,8 @@ def reporthook(count, block_size, total_size): def main(): # Check minimal Python version is 2.7 - if sys.version_info < (2, 7): - sys.stderr.write('You need Python 2.7 or later\n') + if sys.version_info < (3, 0): + sys.stderr.write('You need Python 3 or later\n') sys.exit(1) dest = os.path.dirname(os.path.abspath(__file__))