[web] Load dumped options at start up.

This commit is contained in:
Matthew Shao 2017-07-26 15:13:56 +08:00
parent c7e41b32ab
commit c3cb77adce

View File

@ -125,6 +125,12 @@ class WebMaster(master.Master):
"No web browser found. Please open a browser and point it to {}".format(web_url), "No web browser found. Please open a browser and point it to {}".format(web_url),
"info" "info"
) )
unknown_opts = optmanager.load_paths(app.CONFIG_PATH)
if unknown_opts == {}:
self.add_log(
"Load options configuration from {}.".format(app.CONFIG_PATH),
"info"
)
try: try:
iol.start() iol.start()