diff --git a/uvicorn/workers.py b/uvicorn/workers.py index 061805b6c..06fdf295e 100644 --- a/uvicorn/workers.py +++ b/uvicorn/workers.py @@ -11,7 +11,7 @@ from gunicorn.workers.base import Worker from uvicorn.config import Config -from uvicorn.main import Server +from uvicorn.server import Server warnings.warn( "The `uvicorn.workers` module is deprecated. Please use `uvicorn-worker` package instead.\n"