From 921adebf51db4b09365f55d643c81abdd225a4c6 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 19 Nov 2016 11:47:33 +0800 Subject: webui: Minor update the docstring. --- fg21sim/webui/handlers/base.py | 6 +++++- fg21sim/webui/handlers/console.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'fg21sim/webui') 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 -- cgit v1.2.2