Fixed simple example

Simple example will not work unless import time is added
This commit is contained in:
Vault108 2021-01-08 15:13:18 -05:00 committed by GitHub
parent 5350603e8a
commit 4c1a1b306f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -35,6 +35,8 @@ The Progress class is designed to be used as a *context manager* which will star
Here's a simple example::
import time
from rich.progress import Progress
with Progress() as progress: