Skip to content

Commit

Permalink
Update launcher.py
Browse files Browse the repository at this point in the history
  • Loading branch information
EvieePy authored Dec 17, 2024
1 parent fc313aa commit c3c9323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def main() -> None:
server_config = core.CONFIG.get("WEBSERVER")
if server_config:
app: Application = Application(bot=bot)
config: uvicorn.Config = uvicorn.Config(app, host=server_config["host"], port=server_config["port"])
config: uvicorn.Config = uvicorn.Config(app, host=server_config["host"], port=server_config["port"], no_access_log=True)

Check failure on line 69 in launcher.py

View workflow job for this annotation

GitHub Actions / Type Coverage and Linting @ 3.x

No parameter named "no_access_log" (reportCallIssue)
server: uvicorn.Server = uvicorn.Server(config)

tasks.add(asyncio.create_task(server.serve()))
Expand Down

0 comments on commit c3c9323

Please sign in to comment.