diff options
-rw-r--r-- | mitmproxy/tools/console/commandexecutor.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mitmproxy/tools/console/commandexecutor.py b/mitmproxy/tools/console/commandexecutor.py index 829daee1..26f92238 100644 --- a/mitmproxy/tools/console/commandexecutor.py +++ b/mitmproxy/tools/console/commandexecutor.py @@ -23,6 +23,10 @@ class CommandExecutor: signals.status_message.send( message="Command returned %s flows" % len(ret) ) + elif type(ret) == flow.Flow: + signals.status_message.send( + message="Command returned 1 flow" + ) else: self.master.overlay( overlay.DataViewerOverlay( |