mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
mitmweb: start onboarding app if instructed to
This commit is contained in:
parent
d08fc33f35
commit
901bf018c0
@ -133,6 +133,9 @@ class WebMaster(flow.FlowMaster):
|
|||||||
"Could not read flow file: %s"%v,
|
"Could not read flow file: %s"%v,
|
||||||
"error"
|
"error"
|
||||||
)
|
)
|
||||||
|
if self.options.app:
|
||||||
|
self.start_app(self.options.app_host, self.options.app_port)
|
||||||
|
|
||||||
|
|
||||||
def tick(self):
|
def tick(self):
|
||||||
flow.FlowMaster.tick(self, self.masterq, timeout=0)
|
flow.FlowMaster.tick(self, self.masterq, timeout=0)
|
||||||
|
Loading…
Reference in New Issue
Block a user