mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-01 15:55:28 +00:00
fixing bug: AttributeError: DumpMaster instance has no attribute 'unload_script'
This commit is contained in:
parent
3aa78f9ff3
commit
66da73d8a9
@ -223,8 +223,7 @@ class DumpMaster(flow.FlowMaster):
|
|||||||
|
|
||||||
def run(self): # pragma: no cover
|
def run(self): # pragma: no cover
|
||||||
if self.o.rfile and not self.o.keepserving:
|
if self.o.rfile and not self.o.keepserving:
|
||||||
for script in self.scripts:
|
self.unload_scripts()
|
||||||
self.unload_script(script)
|
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
return flow.FlowMaster.run(self)
|
return flow.FlowMaster.run(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user