Merge pull request #1364 from micahflee/1350_ascii_art_spacing

Account for the "v" in the version string ("v2.3.2") banner spacing
This commit is contained in:
Micah Lee 2021-05-26 09:11:52 -07:00 committed by GitHub
commit 99825ab21f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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