From da2e22c140fe4f8807d55af7a14bac1fe2fee325 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Tue, 25 May 2021 17:31:28 -0700 Subject: [PATCH] Account for the "v" in the version string ("v2.3.2") banner spacing --- cli/onionshare_cli/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/onionshare_cli/common.py b/cli/onionshare_cli/common.py index 7ec31ec6..dd92eb0b 100644 --- a/cli/onionshare_cli/common.py +++ b/cli/onionshare_cli/common.py @@ -250,7 +250,7 @@ class Common: ) left_spaces = (43 - len(self.version) - 1) // 2 right_spaces = left_spaces - if left_spaces + len(self.version) + right_spaces < 43: + if left_spaces + len(self.version) + 1 + right_spaces < 43: right_spaces += 1 print( Back.MAGENTA