Skip to content

Commit

Permalink
Fixed shadowing of import rich.box by for loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidaco committed Sep 19, 2021
1 parent 23aa717 commit a61ad5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/table_movie.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,14 @@ def beat(length: int = 1) -> None:
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
Expand Down

0 comments on commit a61ad5c

Please sign in to comment.