diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-19 11:47:33 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-19 11:47:33 +0800 |
commit | 921adebf51db4b09365f55d643c81abdd225a4c6 (patch) | |
tree | cc8965f9982b024c10a9c232b1c0804f2913915e | |
parent | 8e81b722fef3dfb1155c33a65ca74f728c00f1d6 (diff) | |
download | fg21sim-921adebf51db4b09365f55d643c81abdd225a4c6.tar.bz2 |
webui: Minor update the docstring.
-rw-r--r-- | fg21sim/webui/handlers/base.py | 6 | ||||
-rw-r--r-- | fg21sim/webui/handlers/console.py | 2 |
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 |