summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2019-09-02 23:38:30 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2019-09-02 23:38:30 +0200
commitc2d68cd4fe05689995d924850eeb93194dca6c04 (patch)
tree41c592cea6a8ec1c2b53bec16253e9f833aa0168
parentUse the new website's URL. (diff)
downloadglucometerutils-c2d68cd4fe05689995d924850eeb93194dca6c04.tar
glucometerutils-c2d68cd4fe05689995d924850eeb93194dca6c04.tar.gz
glucometerutils-c2d68cd4fe05689995d924850eeb93194dca6c04.tar.bz2
glucometerutils-c2d68cd4fe05689995d924850eeb93194dca6c04.tar.lz
glucometerutils-c2d68cd4fe05689995d924850eeb93194dca6c04.tar.xz
glucometerutils-c2d68cd4fe05689995d924850eeb93194dca6c04.tar.zst
glucometerutils-c2d68cd4fe05689995d924850eeb93194dca6c04.zip
-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)