mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 01:58:24 +00:00
fix f-string with missing f
This commit is contained in:
parent
6c0696a2e4
commit
a03513c2ec
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ The Live class will create an internal Console object which you can access via `
|
|||
|
||||
with Live(table, refresh_per_second=4) as live: # update 4 times a second to feel fluid
|
||||
for row in range(12):
|
||||
live.console.print("Working on row #{row}")
|
||||
live.console.print(f"Working on row #{row}")
|
||||
time.sleep(0.4)
|
||||
table.add_row(f"{row}", f"description {row}", "[red]ERROR")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue