summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-03-06 22:04:46 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2020-03-06 22:08:25 +0100
commitcd6317236a160b7ad6689080c6419adfe79e575a (patch)
tree8561f6d60544ea475514e4b05ed15e28b7ddc4e9
parentFix typo. (diff)
downloadglucometerutils-cd6317236a160b7ad6689080c6419adfe79e575a.tar
glucometerutils-cd6317236a160b7ad6689080c6419adfe79e575a.tar.gz
glucometerutils-cd6317236a160b7ad6689080c6419adfe79e575a.tar.bz2
glucometerutils-cd6317236a160b7ad6689080c6419adfe79e575a.tar.lz
glucometerutils-cd6317236a160b7ad6689080c6419adfe79e575a.tar.xz
glucometerutils-cd6317236a160b7ad6689080c6419adfe79e575a.tar.zst
glucometerutils-cd6317236a160b7ad6689080c6419adfe79e575a.zip
-rw-r--r--glucometerutils/support/freestyle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/support/freestyle.py b/glucometerutils/support/freestyle.py
index bdb4efd..d48ac04 100644
--- a/glucometerutils/support/freestyle.py
+++ b/glucometerutils/support/freestyle.py
@@ -47,7 +47,7 @@ def _create_matcher(message_type, content):
return _matcher
_is_init_reply = _create_matcher(_INIT_RESPONSE, b'\x01')
-_is_keepalive_response = _create_matcher(_KEEPALIVE_RESPONSE, b'\x05')
+_is_keepalive_response = _create_matcher(_KEEPALIVE_RESPONSE, None)
_is_unknown_message_error = _create_matcher(_UNKNOWN_MESSAGE_RESPONSE, b'\x85')
_is_encryption_missing_error = _create_matcher(
_ENCRYPTION_SETUP_RESPONSE, b'\x15')