diff --git a/pyproject.toml b/pyproject.toml index 41ec381..b2496d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,8 +3,8 @@ name = "autoshift" version = "2.0.1" description = "AutoSHIFt: Automatically redeem Gearbox SHIFt Codes" authors = [ - "Fabian Schweinfurth ", "zarmstrong ", + "Fabian Schweinfurth ", ] license = "GPLv3" requires-poetry = ">=2.4,<3.0" diff --git a/query.py b/query.py index 3abe75d..3c63c31 100644 --- a/query.py +++ b/query.py @@ -139,9 +139,9 @@ def print_banner(data): if profile: lines.append(f"Profile: {profile}") - longest_line = max(len(line) for line in lines) + 2 + txt = " autoshift by @zarmstrong, originally by @Fabbi " + longest_line = max(max(len(line) for line in lines) + 2, len(txt)) banner = "\n".join(f"{line: ^{longest_line}}" for line in lines) - txt = " autoshift by @Fabbi " banner = f"{txt:=^{longest_line}}\n{banner}\n" banner += "=" * longest_line