mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 14:36:15 -04:00
Account for the "v" in the version string ("v2.3.2") banner spacing
This commit is contained in:
parent
8e284f1027
commit
b1360cf5d6
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ class Common:
|
||||||
)
|
)
|
||||||
left_spaces = (43 - len(self.version) - 1) // 2
|
left_spaces = (43 - len(self.version) - 1) // 2
|
||||||
right_spaces = left_spaces
|
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
|
right_spaces += 1
|
||||||
print(
|
print(
|
||||||
Back.MAGENTA
|
Back.MAGENTA
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue