aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-19 11:47:33 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-19 11:47:33 +0800
commit921adebf51db4b09365f55d643c81abdd225a4c6 (patch)
treecc8965f9982b024c10a9c232b1c0804f2913915e /fg21sim
parent8e81b722fef3dfb1155c33a65ca74f728c00f1d6 (diff)
downloadfg21sim-921adebf51db4b09365f55d643c81abdd225a4c6.tar.bz2
webui: Minor update the docstring.
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/webui/handlers/base.py6
-rw-r--r--fg21sim/webui/handlers/console.py2
2 files changed, 6 insertions, 2 deletions
diff --git a/fg21sim/webui/handlers/base.py b/fg21sim/webui/handlers/base.py
index 5a6e3a9..868ae48 100644
--- a/fg21sim/webui/handlers/base.py
+++ b/fg21sim/webui/handlers/base.py
@@ -2,7 +2,7 @@
# MIT license
"""
-Base handler for other handlers
+Base web request handler for other handlers
"""
@@ -11,6 +11,10 @@ from tornado.options import options
class BaseRequestHandler(tornado.web.RequestHandler):
+ """
+ Base web request handler with user authentication support.
+ """
+
def get_current_user(self):
"""
Override the ``get_current_user()`` method to implement user
diff --git a/fg21sim/webui/handlers/console.py b/fg21sim/webui/handlers/console.py
index 9f2d376..07b191c 100644
--- a/fg21sim/webui/handlers/console.py
+++ b/fg21sim/webui/handlers/console.py
@@ -2,7 +2,7 @@
# MIT license
"""
-Handle the "console" type of messages from the client.
+Handle the AJAX requests from the client to control the tasks.
"""
import logging