Skip to content

Commit

Permalink
Remove debug param (removed upstream - encode/uvicorn#1640)
Browse files Browse the repository at this point in the history
  • Loading branch information
pschmitt committed Nov 9, 2022
1 parent e996775 commit 02931a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.py
Expand Up @@ -7,8 +7,8 @@
import sys

from environs import Env
from uvicorn import Config, Server
from loguru import logger
from uvicorn import Config, Server

env = Env()
DEBUG = env.bool("DEBUG", False)
Expand Down Expand Up @@ -63,7 +63,6 @@ def setup_logging():
log_level=LOG_LEVEL,
reload=RELOAD,
reload_includes=["*.py"],
debug=DEBUG,
workers=WORKERS,
),
)
Expand Down

0 comments on commit 02931a1

Please sign in to comment.