diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2016-08-31 21:32:06 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2016-08-31 21:32:06 +0200 |
commit | 70d2267982925deb04811abb17fd989683d55d1a (patch) | |
tree | d862e551da385e92b320f924646cf63ab91d7787 | |
parent | freestyle_optium: remove debugging print. (diff) | |
download | glucometerutils-70d2267982925deb04811abb17fd989683d55d1a.tar glucometerutils-70d2267982925deb04811abb17fd989683d55d1a.tar.gz glucometerutils-70d2267982925deb04811abb17fd989683d55d1a.tar.bz2 glucometerutils-70d2267982925deb04811abb17fd989683d55d1a.tar.lz glucometerutils-70d2267982925deb04811abb17fd989683d55d1a.tar.xz glucometerutils-70d2267982925deb04811abb17fd989683d55d1a.tar.zst glucometerutils-70d2267982925deb04811abb17fd989683d55d1a.zip |
-rw-r--r-- | glucometerutils/drivers/freestyle_optium.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/drivers/freestyle_optium.py b/glucometerutils/drivers/freestyle_optium.py index a15b74d..da6aa84 100644 --- a/glucometerutils/drivers/freestyle_optium.py +++ b/glucometerutils/drivers/freestyle_optium.py @@ -263,7 +263,7 @@ class Device(object): month = _MONTH_MATCHES[match.group('month')] year = int(match.group('year')) - hour, minute = map(match.group('time').split(':'), int) + hour, minute = map(int, match.group('time').split(':')) timestamp = datetime.datetime(year, month, day, hour, minute) |