From 8f98e46ecb901df499010e77e17d044ce2f3f3a4 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sat, 22 Mar 2025 03:26:04 -0600 Subject: Python: Clean up f-strings --- gdb-helpers/rp2040.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb-helpers/rp2040.py') diff --git a/gdb-helpers/rp2040.py b/gdb-helpers/rp2040.py index 45bdbc7..087974d 100644 --- a/gdb-helpers/rp2040.py +++ b/gdb-helpers/rp2040.py @@ -32,7 +32,7 @@ def box(title: str, content: str) -> str: ret = "┏━[" + title + "]" + ("━" * (width - len(title) - 5)) + "┓\n" for line in content.split("\n"): - ret += f"┃ {line.ljust(width-4)} ┃\n" + ret += f"┃ {line:<{width-4}} ┃\n" ret += "┗" + ("━" * (width - 2)) + "┛" return ret -- cgit v1.2.3-2-g168b