summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glucometerutils/drivers/fsoptium.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/drivers/fsoptium.py b/glucometerutils/drivers/fsoptium.py
index daaa431..0148d54 100644
--- a/glucometerutils/drivers/fsoptium.py
+++ b/glucometerutils/drivers/fsoptium.py
@@ -80,7 +80,7 @@ def _parse_clock(datestr):
month = _MONTH_MATCHES[match.group('month')]
year = int(match.group('year'))
- hour, minute, second = map(match.group('time').split(':'), int)
+ hour, minute, second = (int (x) for x in match.group('time').split(':'))
return datetime.datetime(year, month, day, hour, minute, second)