summaryrefslogtreecommitdiffstats
path: root/glucometer.py
diff options
context:
space:
mode:
authorDorian Scholz <DorianScholz@gmx.de>2017-05-30 07:49:57 +0200
committerDorian Scholz <DorianScholz@gmx.de>2017-05-30 07:49:57 +0200
commit57cb8f4e5495e9a27eaa01cf78e41d56172439b9 (patch)
tree37b6a39dcabd70f6e685b125a8c4c4cd9fddfcbd /glucometer.py
parentAdd the Optium Neo as an untested supported device. (diff)
downloadglucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar
glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar.gz
glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar.bz2
glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar.lz
glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar.xz
glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.tar.zst
glucometerutils-57cb8f4e5495e9a27eaa01cf78e41d56172439b9.zip
Diffstat (limited to 'glucometer.py')
-rwxr-xr-xglucometer.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/glucometer.py b/glucometer.py
index 19a47a8..c037d7c 100755
--- a/glucometer.py
+++ b/glucometer.py
@@ -65,10 +65,10 @@ def main():
try:
driver = importlib.import_module('glucometerutils.drivers.' + args.driver)
- except ImportError:
+ except ImportError as e:
logging.error(
- 'No driver "%s" found, please check your --driver parameter.',
- args.driver)
+ 'Error importing driver "%s", please check your --driver parameter:\n%s',
+ args.driver, e)
return 1
# This check needs to happen before we try to initialize the device, as the