mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Merge pull request #538 from peralta/patch-1
mitmweb: start onboarding app if instructed to
This commit is contained in:
commit
9a328c12a4
@ -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