mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-01 15:55:28 +00:00
fix crash
This commit is contained in:
parent
95406bd119
commit
bcf5620239
@ -113,7 +113,7 @@ class FlowView(common.WWrap):
|
|||||||
("edit raw", "e"),
|
("edit raw", "e"),
|
||||||
]
|
]
|
||||||
|
|
||||||
highlight_color = "key"
|
highlight_color = "focusfield"
|
||||||
|
|
||||||
def __init__(self, master, state, flow):
|
def __init__(self, master, state, flow):
|
||||||
self.master, self.state, self.flow = master, state, flow
|
self.master, self.state, self.flow = master, state, flow
|
||||||
@ -316,7 +316,7 @@ class FlowView(common.WWrap):
|
|||||||
if found:
|
if found:
|
||||||
focus_pos = i
|
focus_pos = i
|
||||||
else :
|
else :
|
||||||
focus_post = None
|
focus_pos = None
|
||||||
|
|
||||||
return text_objects, focus_pos
|
return text_objects, focus_pos
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user