From b635a5d93d594d3cbcadb82b3d323f0396a7c92f Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 15 Nov 2016 21:02:57 +0800 Subject: webui: Rename "FG21simWSHandler" to "WSHandler" --- fg21sim/webui/handlers/__init__.py | 2 +- fg21sim/webui/handlers/websocket.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'fg21sim/webui/handlers') diff --git a/fg21sim/webui/handlers/__init__.py b/fg21sim/webui/handlers/__init__.py index 0c01ea7..0eb3818 100644 --- a/fg21sim/webui/handlers/__init__.py +++ b/fg21sim/webui/handlers/__init__.py @@ -3,4 +3,4 @@ from .index import IndexHandler from .login import LoginHandler -from .websocket import FG21simWSHandler +from .websocket import WSHandler diff --git a/fg21sim/webui/handlers/websocket.py b/fg21sim/webui/handlers/websocket.py index 941dd39..7f57389 100644 --- a/fg21sim/webui/handlers/websocket.py +++ b/fg21sim/webui/handlers/websocket.py @@ -31,7 +31,7 @@ from ..utils import get_host_ip, ip_in_network logger = logging.getLogger(__name__) -class FG21simWSHandler(tornado.websocket.WebSocketHandler): +class WSHandler(tornado.websocket.WebSocketHandler): """ WebSocket for bi-directional communication between the Web UI and the server, which can deal with the configurations and execute the -- cgit v1.2.2