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