diff --git a/libmproxy/console.py b/libmproxy/console.py index 757f11c80..305cb56ce 100644 --- a/libmproxy/console.py +++ b/libmproxy/console.py @@ -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()