summaryrefslogtreecommitdiffstats
path: root/glucometer.py
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-06-15 23:22:57 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-06-15 23:22:57 +0200
commit76eef3f9d9ddac36a5adbf0174ece3fff2131eac (patch)
tree220549cdbd0829b314100df8ce625d5e255096cb /glucometer.py
parentfreestyle: add some debugging information. (diff)
downloadglucometerutils-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
Diffstat (limited to '')
-rwxr-xr-xglucometer.py4
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")