From b99da2452926136d2321a9a2eb282ad4cf07d20e Mon Sep 17 00:00:00 2001 From: Shadab Zafar Date: Mon, 25 Jul 2016 07:08:03 +0530 Subject: [PATCH] Fix clearing of flows Fixes #1424 --- mitmproxy/console/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/console/master.py b/mitmproxy/console/master.py index f7c99ecb9..db4141471 100644 --- a/mitmproxy/console/master.py +++ b/mitmproxy/console/master.py @@ -182,7 +182,7 @@ class ConsoleState(flow.State): self.mark_filter = False def clear(self): - marked_flows = [f for f in self.state.view if f.marked] + marked_flows = [f for f in self.view if f.marked] super(ConsoleState, self).clear() for f in marked_flows: