From 7c5fb08d534f80c0356e8e9e26bc5bccc1e6d38e Mon Sep 17 00:00:00 2001 From: Austin Bozowski Date: Fri, 10 Jun 2022 18:15:37 +0000 Subject: [PATCH] [no ci] Make border nice --- examples/chef/chef.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chef/chef.py b/examples/chef/chef.py index 005878aef9680d..7bb174fe875f58 100755 --- a/examples/chef/chef.py +++ b/examples/chef/chef.py @@ -163,7 +163,7 @@ def flush_print( with_border: Add boarder above and below to_print. """ if with_border: - border = ('-' * 64) + '\n' + border = ('-' * len(to_print)) + '\n' to_print = f"{border}{to_print}\n{border}" print(to_print, flush=True)