summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()