Small tweaks to read_dumpfile example.

This commit is contained in:
Aldo Cortesi 2015-08-17 11:29:24 +12:00
parent 19a17933cc
commit 9286f5b5b4
1 changed files with 1 additions and 1 deletions

2
examples/read_dumpfile Normal file → Executable file
View 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():