diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2017-09-13 17:11:24 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.eu> | 2017-09-13 17:11:24 +0200 |
commit | 34465f4dd75429bffc4f8ff732915dd14a9e2d06 (patch) | |
tree | 33f3616ebe12fa287aa2dc6baef2d6b9d339038b | |
parent | otverio2015: expose pre-/post-meal flags for Select Plus devices. (diff) | |
download | glucometerutils-34465f4dd75429bffc4f8ff732915dd14a9e2d06.tar glucometerutils-34465f4dd75429bffc4f8ff732915dd14a9e2d06.tar.gz glucometerutils-34465f4dd75429bffc4f8ff732915dd14a9e2d06.tar.bz2 glucometerutils-34465f4dd75429bffc4f8ff732915dd14a9e2d06.tar.lz glucometerutils-34465f4dd75429bffc4f8ff732915dd14a9e2d06.tar.xz glucometerutils-34465f4dd75429bffc4f8ff732915dd14a9e2d06.tar.zst glucometerutils-34465f4dd75429bffc4f8ff732915dd14a9e2d06.zip |
-rw-r--r-- | glucometerutils/drivers/otverio2015.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/glucometerutils/drivers/otverio2015.py b/glucometerutils/drivers/otverio2015.py index 56870c2..d272b5c 100644 --- a/glucometerutils/drivers/otverio2015.py +++ b/glucometerutils/drivers/otverio2015.py @@ -76,9 +76,9 @@ _READ_RECORD_REQUEST_SUFFIX = b'\x00' _MEMORY_ERASE_REQUEST = b'\x04\x1a' _MEAL_CODES = { - b'\x00': common.NO_MEAL, - b'\x01': common.BEFORE_MEAL, - b'\x02': common.AFTER_MEAL, + 0x00: common.NO_MEAL, + 0x01: common.BEFORE_MEAL, + 0x02: common.AFTER_MEAL, } def _extract_message(register): |