mirror of
https://github.com/mitmproxy/mitmproxy.git
synced 2024-11-26 23:00:40 +00:00
Fix traceback when viewing hex mode.
This commit is contained in:
parent
2e70a0e44b
commit
c17cf5c6a0
@ -357,7 +357,7 @@ class ConnectionView(WWrap):
|
||||
|
||||
def refresh_connection(self, c=None):
|
||||
if c == self.flow:
|
||||
if self.state.view_flow_mode == VIEW_FLOW_RESPONSE and flow.response:
|
||||
if self.state.view_flow_mode == VIEW_FLOW_RESPONSE and self.flow.response:
|
||||
self.view_response()
|
||||
else:
|
||||
self.view_request()
|
||||
|
Loading…
Reference in New Issue
Block a user