summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-12-28 22:06:51 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-12-28 22:06:51 +0100
commit475fceae1d436bd6ecdc9aa465e204dec94c0fc9 (patch)
tree40e79879a9d0083ece96cecefdb9c7c61fc886f7
parentRemove misleading MANIFEST template. (diff)
downloadglucometerutils-475fceae1d436bd6ecdc9aa465e204dec94c0fc9.tar
glucometerutils-475fceae1d436bd6ecdc9aa465e204dec94c0fc9.tar.gz
glucometerutils-475fceae1d436bd6ecdc9aa465e204dec94c0fc9.tar.bz2
glucometerutils-475fceae1d436bd6ecdc9aa465e204dec94c0fc9.tar.lz
glucometerutils-475fceae1d436bd6ecdc9aa465e204dec94c0fc9.tar.xz
glucometerutils-475fceae1d436bd6ecdc9aa465e204dec94c0fc9.tar.zst
glucometerutils-475fceae1d436bd6ecdc9aa465e204dec94c0fc9.zip
-rwxr-xr-xglucometer7
-rwxr-xr-xglucometerutils/glucometer.py (renamed from glucometer.py)3
2 files changed, 7 insertions, 3 deletions
diff --git a/glucometer b/glucometer
new file mode 100755
index 0000000..3b8bf70
--- /dev/null
+++ b/glucometer
@@ -0,0 +1,7 @@
+#!/usr/bin/env python3
+# -*- python -*-
+
+from glucometerutils import glucometer
+
+if __name__ == "__main__":
+ glucometer.main()
diff --git a/glucometer.py b/glucometerutils/glucometer.py
index abed647..cd2331c 100755
--- a/glucometer.py
+++ b/glucometerutils/glucometer.py
@@ -145,6 +145,3 @@ def main():
return 1
device.disconnect()
-
-if __name__ == "__main__":
- main()