summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2021-03-01 23:51:12 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-03-01 23:55:20 +0100
commit720fd623c217a0072a00a9fcbac1dc7dc3418df3 (patch)
tree6f1e8aa5cb47df2564cd4fc136e13aef095df9ec
parentRe-add missing td42xx tests. (diff)
downloadglucometerutils-720fd623c217a0072a00a9fcbac1dc7dc3418df3.tar
glucometerutils-720fd623c217a0072a00a9fcbac1dc7dc3418df3.tar.gz
glucometerutils-720fd623c217a0072a00a9fcbac1dc7dc3418df3.tar.bz2
glucometerutils-720fd623c217a0072a00a9fcbac1dc7dc3418df3.tar.lz
glucometerutils-720fd623c217a0072a00a9fcbac1dc7dc3418df3.tar.xz
glucometerutils-720fd623c217a0072a00a9fcbac1dc7dc3418df3.tar.zst
glucometerutils-720fd623c217a0072a00a9fcbac1dc7dc3418df3.zip
-rw-r--r--glucometerutils/drivers/fslibre.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometerutils/drivers/fslibre.py b/glucometerutils/drivers/fslibre.py
index 07fc504..8b3b762 100644
--- a/glucometerutils/drivers/fslibre.py
+++ b/glucometerutils/drivers/fslibre.py
@@ -165,7 +165,7 @@ def _parse_arresult(record: Sequence[str]) -> Optional[common.AnyReading]:
custom_comments = record[29:35]
for comment_index in range(6):
if parsed_record["custom-comments-bitfield"] & (1 << comment_index):
- comment_parts.append(custom_comments[comment_index][1:-1])
+ comment_parts.append(custom_comments[comment_index])
if parsed_record["sport-flag"]:
comment_parts.append("Sport")