mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-28 20:24:59 +08:00
fixing bug: AttributeError: DumpMaster instance has no attribute 'unload_script'
This commit is contained in:
@@ -223,8 +223,7 @@ class DumpMaster(flow.FlowMaster):
|
||||
|
||||
def run(self): # pragma: no cover
|
||||
if self.o.rfile and not self.o.keepserving:
|
||||
for script in self.scripts:
|
||||
self.unload_script(script)
|
||||
self.unload_scripts()
|
||||
return
|
||||
try:
|
||||
return flow.FlowMaster.run(self)
|
||||
|
||||
Reference in New Issue
Block a user