From 3d3b662ce0eb40ed91c0d1a6466dbcd9e42d2abf Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 14 Nov 2016 15:53:53 +0800 Subject: webui: Replace "make_application()" with Application class --- bin/fg21sim-webui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/fg21sim-webui') diff --git a/bin/fg21sim-webui b/bin/fg21sim-webui index 9da61a3..642039e 100755 --- a/bin/fg21sim-webui +++ b/bin/fg21sim-webui @@ -26,7 +26,7 @@ from tornado.options import define, options, parse_command_line from fg21sim.configs import configs from fg21sim.utils import setup_logging -from fg21sim.webui import make_application +from fg21sim.webui import Application # Define options in the global namespace @@ -60,7 +60,7 @@ def main(): logger = logging.getLogger(tool) logger.info("COMMAND: {0}".format(" ".join(sys.argv))) - application = make_application(debug=options.debug) + application = Application(debug=options.debug) application.listen(options.port) url = "http://localhost:{port}".format(port=options.port) logger.info("Tornado started") -- cgit v1.2.2