Fix traceback when viewing hex mode.

This commit is contained in:
Aldo Cortesi 2011-03-14 14:34:55 +13:00
parent 2e70a0e44b
commit c17cf5c6a0

View File

@ -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()