diff options
author | Aldo Cortesi <aldo@corte.si> | 2016-10-22 13:23:08 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-22 13:23:08 +1300 |
commit | 600906d1821d52d5af50939e5f8596ec12cc9f05 (patch) | |
tree | c7e3ac6add77bd22cd540453e608e5d6be50675c | |
parent | 4ce828401f179e639a1116db519b486d674ac5a4 (diff) | |
parent | 0d0a3a51dfd8990b2dfd47c32cb070950b606d5c (diff) | |
download | mitmproxy-600906d1821d52d5af50939e5f8596ec12cc9f05.tar.gz mitmproxy-600906d1821d52d5af50939e5f8596ec12cc9f05.tar.bz2 mitmproxy-600906d1821d52d5af50939e5f8596ec12cc9f05.zip |
Merge pull request #1647 from babldev/fix-flowfilter-example
Fix method call in flowfilter example
-rw-r--r-- | examples/flowfilter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/flowfilter.py b/examples/flowfilter.py index 80a153da..34d97275 100644 --- a/examples/flowfilter.py +++ b/examples/flowfilter.py @@ -10,7 +10,7 @@ class Filter: self.filter = flowfilter.parse(spec) def response(self, flow): - if flowfilter.match(flow, self.filter): + if flowfilter.match(self.filter, flow): print("Flow matches filter:") print(flow) |