diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-14 15:53:53 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-14 15:53:53 +0800 |
commit | 3d3b662ce0eb40ed91c0d1a6466dbcd9e42d2abf (patch) | |
tree | 63230d58e23baf9af64f3dec250dda71bf95fd17 /bin | |
parent | 013c815abfa4fd0391b79b2653d989588b170e86 (diff) | |
download | fg21sim-3d3b662ce0eb40ed91c0d1a6466dbcd9e42d2abf.tar.bz2 |
webui: Replace "make_application()" with Application class
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fg21sim-webui | 4 |
1 files changed, 2 insertions, 2 deletions
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") |