Fixed shadowing of import `rich.box` by for loop.

This commit is contained in:
aidaco 2021-09-19 08:56:36 -04:00
parent 23aa717744
commit a61ad5c309
1 changed files with 2 additions and 2 deletions

View File

@ -163,14 +163,14 @@ with Live(table_centered, console=console, screen=False, refresh_per_second=20):
with beat(10):
table.border_style = "bright_yellow"
for box in [
for box_style in [
box.SQUARE,
box.MINIMAL,
box.SIMPLE,
box.SIMPLE_HEAD,
]:
with beat(10):
table.box = box
table.box = box_style
with beat(10):
table.pad_edge = False