mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-01-30 23:09:44 +00:00
Small tweaks to read_dumpfile example.
This commit is contained in:
parent
19a17933cc
commit
9286f5b5b4
2
examples/read_dumpfile
Normal file → Executable file
2
examples/read_dumpfile
Normal file → Executable file
@ -7,7 +7,7 @@ from libmproxy import flow
|
||||
import json
|
||||
import sys
|
||||
|
||||
with open("logfile", "rb") as logfile:
|
||||
with open(sys.argv[1], "rb") as logfile:
|
||||
freader = flow.FlowReader(logfile)
|
||||
try:
|
||||
for f in freader.stream():
|
||||
|
Loading…
Reference in New Issue
Block a user