diff options
Diffstat (limited to 'glucometer.py')
-rwxr-xr-x | glucometer.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/glucometer.py b/glucometer.py index 899bd6d..6622a88 100755 --- a/glucometer.py +++ b/glucometer.py @@ -17,6 +17,10 @@ from glucometerutils import common from glucometerutils import exceptions def main(): + if sys.version_info < (3, 2): + raise Exception( + 'Unsupported Python version, please use at least Python 3.2') + parser = argparse.ArgumentParser() subparsers = parser.add_subparsers(dest="action") |