summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-06-05 00:24:42 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-06-05 00:24:42 +0200
commitb0642d81947abaf349431f9c8a2c78e49ffc2b1f (patch)
treee085e95191f957ffea0c8fa69b2019aec5506d7d
parenthiddevice: add a 1-second timeout to reads. (diff)
downloadglucometerutils-b0642d81947abaf349431f9c8a2c78e49ffc2b1f.tar
glucometerutils-b0642d81947abaf349431f9c8a2c78e49ffc2b1f.tar.gz
glucometerutils-b0642d81947abaf349431f9c8a2c78e49ffc2b1f.tar.bz2
glucometerutils-b0642d81947abaf349431f9c8a2c78e49ffc2b1f.tar.lz
glucometerutils-b0642d81947abaf349431f9c8a2c78e49ffc2b1f.tar.xz
glucometerutils-b0642d81947abaf349431f9c8a2c78e49ffc2b1f.tar.zst
glucometerutils-b0642d81947abaf349431f9c8a2c78e49ffc2b1f.zip
-rwxr-xr-xglucometer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/glucometer.py b/glucometer.py
index 5440f0d..899bd6d 100755
--- a/glucometer.py
+++ b/glucometer.py
@@ -109,7 +109,8 @@ def main():
from dateutil import parser as date_parser
new_date = date_parser.parse(args.set)
except ImportError:
- logging.error('could not import module "dateutil", please install it.')
+ logging.error(
+ 'Unable to import module "dateutil", please install it.')
return 1
except ValueError:
logging.error('%s: not a valid date', args.set)