diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-15 21:02:57 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-15 21:02:57 +0800 |
commit | b635a5d93d594d3cbcadb82b3d323f0396a7c92f (patch) | |
tree | b2353278706016164170b5ce39c4bd017e8af5af /fg21sim/webui/handlers | |
parent | 81d8455ce56e6c94f3f97089255ed155489764e9 (diff) | |
download | fg21sim-b635a5d93d594d3cbcadb82b3d323f0396a7c92f.tar.bz2 |
webui: Rename "FG21simWSHandler" to "WSHandler"
Diffstat (limited to 'fg21sim/webui/handlers')
-rw-r--r-- | fg21sim/webui/handlers/__init__.py | 2 | ||||
-rw-r--r-- | fg21sim/webui/handlers/websocket.py | 2 |
2 files changed, 2 insertions, 2 deletions
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 |