mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-01 15:55:28 +00:00
Fix AttributeError when shutting down a writing mitmdump.
This commit is contained in:
parent
0a90a3eaba
commit
08d6da2941
@ -217,7 +217,7 @@ class DumpMaster(flow.FlowMaster):
|
|||||||
# begin nocover
|
# begin nocover
|
||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
if self.o.wfile:
|
if self.o.wfile:
|
||||||
self.wfile.fo.close()
|
self.fwriter.fo.close()
|
||||||
return flow.FlowMaster.shutdown(self)
|
return flow.FlowMaster.shutdown(self)
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user