Skip to content

Commit

Permalink
Merge pull request #1109 from WaylonWalker/patch-1
Browse files Browse the repository at this point in the history
fix f-string with missing f
  • Loading branch information
willmcgugan committed Mar 15, 2021
2 parents f35a8e7 + a03513c commit ec86300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/live.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit ec86300

Please sign in to comment.