From 9286f5b5b4d9483d0d8e7fa0fb4c27961cd236be Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 17 Aug 2015 11:29:24 +1200 Subject: [PATCH] Small tweaks to read_dumpfile example. --- examples/read_dumpfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 examples/read_dumpfile 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():