summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glucometerutils/drivers/freestyle_optium.py2
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)