diff --git a/examples/read_dumpfile b/examples/read_dumpfile old mode 100644 new mode 100755 index 2238d2d28..ecddc65d9 --- a/examples/read_dumpfile +++ b/examples/read_dumpfile @@ -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():