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,
"error"
)
if self.options.app:
self.start_app(self.options.app_host, self.options.app_port)
def tick(self):
flow.FlowMaster.tick(self, self.masterq, timeout=0)