mitmdump: send script .done when terminating after flow read

Fixes #1439
This commit is contained in:
Aldo Cortesi 2016-07-28 09:33:20 +12:00
parent db22e72103
commit 297cf5d565

View File

@ -118,5 +118,6 @@ class DumpMaster(flow.FlowMaster):
def run(self): # pragma: no cover def run(self): # pragma: no cover
if self.options.rfile and not self.options.keepserving: if self.options.rfile and not self.options.keepserving:
self.addons.done()
return return
super(DumpMaster, self).run() super(DumpMaster, self).run()