mitmweb: start onboarding app if instructed to

This commit is contained in:
peralta 2015-03-26 17:20:32 +01:00
parent d08fc33f35
commit 901bf018c0

View File

@ -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)