diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2017-06-05 00:24:42 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2017-06-05 00:24:42 +0200 |
commit | b0642d81947abaf349431f9c8a2c78e49ffc2b1f (patch) | |
tree | e085e95191f957ffea0c8fa69b2019aec5506d7d /glucometer.py | |
parent | hiddevice: add a 1-second timeout to reads. (diff) | |
download | glucometerutils-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 |
Diffstat (limited to 'glucometer.py')
-rwxr-xr-x | glucometer.py | 3 |
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) |