mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-30 03:14:22 +00:00
Remove flow marking from ConsoleState
This commit is contained in:
parent
500b61a811
commit
40b50e9398
@ -67,7 +67,6 @@ class ConsoleState(flow.State):
|
|||||||
def add_flow(self, f):
|
def add_flow(self, f):
|
||||||
super(ConsoleState, self).add_flow(f)
|
super(ConsoleState, self).add_flow(f)
|
||||||
self.update_focus()
|
self.update_focus()
|
||||||
self.set_flow_marked(f, False)
|
|
||||||
return f
|
return f
|
||||||
|
|
||||||
def update_flow(self, f):
|
def update_flow(self, f):
|
||||||
@ -153,12 +152,6 @@ class ConsoleState(flow.State):
|
|||||||
self.focus = 0
|
self.focus = 0
|
||||||
self.set_focus(self.focus)
|
self.set_focus(self.focus)
|
||||||
|
|
||||||
def flow_marked(self, flow):
|
|
||||||
return self.get_flow_setting(flow, "marked", False)
|
|
||||||
|
|
||||||
def set_flow_marked(self, flow, marked):
|
|
||||||
self.add_flow_setting(flow, "marked", marked)
|
|
||||||
|
|
||||||
|
|
||||||
class Options(mitmproxy.options.Options):
|
class Options(mitmproxy.options.Options):
|
||||||
def __init__(
|
def __init__(
|
||||||
|
Loading…
Reference in New Issue
Block a user