From a61ad5c30961c9ee00a92d44c7815d25cf2e6e91 Mon Sep 17 00:00:00 2001 From: aidaco <32422559+aidaco@users.noreply.github.com> Date: Sun, 19 Sep 2021 08:56:36 -0400 Subject: [PATCH] Fixed shadowing of import `rich.box` by for loop. --- examples/table_movie.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/table_movie.py b/examples/table_movie.py index 2f05c9e8..515909d9 100644 --- a/examples/table_movie.py +++ b/examples/table_movie.py @@ -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