Merge pull request #1109 from WaylonWalker/patch-1

fix f-string with missing f
This commit is contained in:
Will McGugan 2021-03-15 14:47:34 +00:00 committed by GitHub
commit ec863004e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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")