From 3b8d57ca86ef49c07327d48fa9b2d615ae7071ae Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 7 Apr 2014 14:40:01 +0200 Subject: [PATCH] fix issue #260 --- libmproxy/console/flowview.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libmproxy/console/flowview.py b/libmproxy/console/flowview.py index c7cdfa6c8..ac10e8092 100644 --- a/libmproxy/console/flowview.py +++ b/libmproxy/console/flowview.py @@ -307,9 +307,11 @@ class FlowView(common.WWrap): searching for and handles all the logic surrounding that. """ - if search_string == "": + if not search_string: search_string = self.state.get_flow_setting(self.flow, "last_search_string") + if not search_string: + return if self.state.view_flow_mode == common.VIEW_FLOW_REQUEST: text = self.flow.request