diff --git a/daphne/cli.py b/daphne/cli.py index 0035df7..4fcc844 100755 --- a/daphne/cli.py +++ b/daphne/cli.py @@ -12,7 +12,6 @@ from .endpoints import build_endpoint_description_strings from .server import Server from .utils import import_by_path - logger = logging.getLogger(__name__) DEFAULT_HOST = "127.0.0.1" diff --git a/daphne/ws_protocol.py b/daphne/ws_protocol.py index edf1254..725e89b 100755 --- a/daphne/ws_protocol.py +++ b/daphne/ws_protocol.py @@ -3,11 +3,8 @@ import time import traceback from urllib.parse import unquote -from autobahn.twisted.websocket import ( - ConnectionDeny, - WebSocketServerFactory, - WebSocketServerProtocol, -) +from autobahn.twisted.websocket import (ConnectionDeny, WebSocketServerFactory, + WebSocketServerProtocol) from twisted.internet import defer from .utils import parse_x_forwarded_for