diff --git a/tasks.py b/tasks.py index e2a0502..77d2104 100644 --- a/tasks.py +++ b/tasks.py @@ -130,9 +130,9 @@ def inner(text: str) -> str: """Format and pads inner text for the message box.""" return ( - f'*{" " * padding}' - f'{text}{" " * (width - len(text) - padding * 2 - 2)}' - f'{" " * padding}*' + f"*{' ' * padding}" + f"{text}{' ' * (width - len(text) - padding * 2 - 2)}" + f"{' ' * padding}*" ) print_callable("=" * width)