Small tweaks to read_dumpfile example.
This commit is contained in:
parent
19a17933cc
commit
9286f5b5b4
|
@ -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