summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-03-14 19:22:39 +0100
committerDiego Elio Pettenò <flameeyes@flameeyes.com>2020-03-14 19:22:39 +0100
commitda5b65bac5db9b1b07f2b5af1ead55ce85950116 (patch)
tree8c3f64de82902e27b5383ccccc118df2ba60d45b
parentNow that Python 3.6 is the minimum supported version, use f-strings. (diff)
downloadglucometerutils-da5b65bac5db9b1b07f2b5af1ead55ce85950116.tar
glucometerutils-da5b65bac5db9b1b07f2b5af1ead55ce85950116.tar.gz
glucometerutils-da5b65bac5db9b1b07f2b5af1ead55ce85950116.tar.bz2
glucometerutils-da5b65bac5db9b1b07f2b5af1ead55ce85950116.tar.lz
glucometerutils-da5b65bac5db9b1b07f2b5af1ead55ce85950116.tar.xz
glucometerutils-da5b65bac5db9b1b07f2b5af1ead55ce85950116.tar.zst
glucometerutils-da5b65bac5db9b1b07f2b5af1ead55ce85950116.zip
-rw-r--r--glucometerutils/common.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/glucometerutils/common.py b/glucometerutils/common.py
index 50f04e7..5999eb9 100644
--- a/glucometerutils/common.py
+++ b/glucometerutils/common.py
@@ -151,7 +151,9 @@ class MeterInfo:
def __str__(self):
version_information_string = "N/A"
if self.version_info:
- version_information_string = "\n ".join(self.version_info).strip()
+ version_information_string = "\n ".join(
+ self.version_info
+ ).strip()
base_output = textwrap.dedent(
f"""\