mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
Merge pull request #1425 from dufferzafar/clear-hotfix
Fix clearing of flows
This commit is contained in:
commit
c1bd4dabc8
@ -182,7 +182,7 @@ class ConsoleState(flow.State):
|
|||||||
self.mark_filter = False
|
self.mark_filter = False
|
||||||
|
|
||||||
def clear(self):
|
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()
|
super(ConsoleState, self).clear()
|
||||||
|
|
||||||
for f in marked_flows:
|
for f in marked_flows:
|
||||||
|
Loading…
Reference in New Issue
Block a user