From 639b1557a60d473643ece32bc5117dcbbcc43fda Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 1 Mar 2010 14:20:12 +1300 Subject: [PATCH] Don't show error if user tries to save, but specifies no path. --- libmproxy/console.py | 2 ++ todo | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libmproxy/console.py b/libmproxy/console.py index de3f9ab0d..e717c13f6 100644 --- a/libmproxy/console.py +++ b/libmproxy/console.py @@ -294,6 +294,8 @@ class ConnectionView(WWrap): self.master.refresh_connection(self.flow) def save_connection(self, path): + if not path: + return if self.viewing == self.REQ: c = self.flow.request else: diff --git a/todo b/todo index 8e67c4d1b..363c07c5a 100644 --- a/todo +++ b/todo @@ -10,8 +10,6 @@ Future: - Shortcut for viewing in pager - Serializing and de-serializing requests and responses. - Use real non-blocking input handling to minimize cpu load. - - Give the ability to beep on certain events. (On intercepted - request/response already working.) Bugs: