mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 02:10:59 +00:00
[web] Load dumped options at start up.
This commit is contained in:
parent
c7e41b32ab
commit
c3cb77adce
@ -125,6 +125,12 @@ class WebMaster(master.Master):
|
||||
"No web browser found. Please open a browser and point it to {}".format(web_url),
|
||||
"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:
|
||||
iol.start()
|
||||
|
Loading…
Reference in New Issue
Block a user