diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2017-06-15 23:22:57 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2017-06-15 23:22:57 +0200 |
commit | 76eef3f9d9ddac36a5adbf0174ece3fff2131eac (patch) | |
tree | 220549cdbd0829b314100df8ce625d5e255096cb | |
parent | freestyle: add some debugging information. (diff) | |
download | glucometerutils-76eef3f9d9ddac36a5adbf0174ece3fff2131eac.tar glucometerutils-76eef3f9d9ddac36a5adbf0174ece3fff2131eac.tar.gz glucometerutils-76eef3f9d9ddac36a5adbf0174ece3fff2131eac.tar.bz2 glucometerutils-76eef3f9d9ddac36a5adbf0174ece3fff2131eac.tar.lz glucometerutils-76eef3f9d9ddac36a5adbf0174ece3fff2131eac.tar.xz glucometerutils-76eef3f9d9ddac36a5adbf0174ece3fff2131eac.tar.zst glucometerutils-76eef3f9d9ddac36a5adbf0174ece3fff2131eac.zip |
-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") |