mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-03 16:55:33 +00:00
Merge pull request #1647 from babldev/fix-flowfilter-example
Fix method call in flowfilter example
This commit is contained in:
commit
600906d182
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user