diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-22 03:26:04 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-22 19:32:44 -0600 |
commit | 8f98e46ecb901df499010e77e17d044ce2f3f3a4 (patch) | |
tree | b84518bfe9084bd4b79df742d56d5cbe46d95369 /gdb-helpers/rp2040.py | |
parent | a3e4bb076965497736b07ed38b92646fb5c7c219 (diff) |
Python: Clean up f-strings
Diffstat (limited to 'gdb-helpers/rp2040.py')
-rw-r--r-- | gdb-helpers/rp2040.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |