Skip to content

Commit

Permalink
[no ci] Make border nice
Browse files Browse the repository at this point in the history
  • Loading branch information
aBozowski committed Jun 10, 2022
1 parent d67a7bc commit 7c5fb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/chef/chef.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 7c5fb08

Please sign in to comment.