From 46da6b97f800c239d71d94520410a1f6ca4e7207 Mon Sep 17 00:00:00 2001 From: David D Date: Wed, 1 May 2019 08:10:05 -0400 Subject: [PATCH] isort --- daphne/cli.py | 1 - daphne/ws_protocol.py | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) 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