aboutsummaryrefslogtreecommitdiffstats
path: root/bin/fg21sim-webui
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-14 15:53:53 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-14 15:53:53 +0800
commit3d3b662ce0eb40ed91c0d1a6466dbcd9e42d2abf (patch)
tree63230d58e23baf9af64f3dec250dda71bf95fd17 /bin/fg21sim-webui
parent013c815abfa4fd0391b79b2653d989588b170e86 (diff)
downloadfg21sim-3d3b662ce0eb40ed91c0d1a6466dbcd9e42d2abf.tar.bz2
webui: Replace "make_application()" with Application class
Diffstat (limited to 'bin/fg21sim-webui')
-rwxr-xr-xbin/fg21sim-webui4
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")