mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-29 19:08:44 +00:00
Merge pull request #98 from pplante/master
Explicit file flush in mitmdump
This commit is contained in:
commit
1e0bab65e3
@ -101,6 +101,7 @@ def dump(value,file,encoding=None):
|
|||||||
the given file.
|
the given file.
|
||||||
"""
|
"""
|
||||||
file.write(dumps(value,encoding))
|
file.write(dumps(value,encoding))
|
||||||
|
file.flush()
|
||||||
|
|
||||||
|
|
||||||
def _rdumpq(q,size,value,encoding=None):
|
def _rdumpq(q,size,value,encoding=None):
|
||||||
|
Loading…
Reference in New Issue
Block a user