summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2023-07-28 01:51:17 +0300
committerMaxim Devaev <[email protected]>2023-07-28 01:51:17 +0300
commite93a5c968f2846d1cf4673e2633b1ecebb5919e3 (patch)
treed2d6bf294dc001d65858aa39208b98e05c72b560
parent8efe0e614fc6f52e2cac9ad2de65fd69b656906c (diff)
removed backward compatibility for old aiohttp AccessLogger
-rw-r--r--kvmd/htserver.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/kvmd/htserver.py b/kvmd/htserver.py
index fa2aedc4..df5a3123 100644
--- a/kvmd/htserver.py
+++ b/kvmd/htserver.py
@@ -41,14 +41,10 @@ from aiohttp.web import StreamResponse
from aiohttp.web import WebSocketResponse
from aiohttp.web import WSMsgType
from aiohttp.web import Application
+from aiohttp.web import AccessLogger
from aiohttp.web import run_app
from aiohttp.web import normalize_path_middleware
-try:
- from aiohttp.web import AccessLogger # type: ignore
-except ImportError:
- from aiohttp.helpers import AccessLogger # type: ignore
-
from .logging import get_logger
from .errors import OperationError