Skip to content

Commit

Permalink
Merge pull request #1505 from aidaco/table-movie-box-shadowing-fix
Browse files Browse the repository at this point in the history
Fixed shadowing of import `rich.box` by for loop.
  • Loading branch information
willmcgugan committed Sep 19, 2021
2 parents 23aa717 + a61ad5c commit 81bb574
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 81bb574

Please sign in to comment.