From da5b65bac5db9b1b07f2b5af1ead55ce85950116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sat, 14 Mar 2020 18:22:39 +0000 Subject: Fix version information formatting. The order of operations is a bit different with f-strings so the amount of padding is different. --- glucometerutils/common.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"""\ -- cgit v1.2.3