Remove missing type

This commit is contained in:
Unrud 2022-07-02 20:37:51 +02:00
parent 6d8976795c
commit 515b196fda

View File

@ -206,7 +206,7 @@ class ServerHandler(wsgiref.simple_server.ServerHandler):
# Don't pollute WSGI environ with OS environment # Don't pollute WSGI environ with OS environment
os_environ: MutableMapping[str, str] = {} os_environ: MutableMapping[str, str] = {}
def log_exception(self, exc_info: "wsgiref.handlers._exc_info") -> None: def log_exception(self, exc_info) -> None:
logger.error("An exception occurred during request: %s", logger.error("An exception occurred during request: %s",
exc_info[1], exc_info=exc_info) # type:ignore[arg-type] exc_info[1], exc_info=exc_info) # type:ignore[arg-type]