diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2010-03-01 14:20:12 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2010-03-01 14:20:12 +1300 |
commit | 639b1557a60d473643ece32bc5117dcbbcc43fda (patch) | |
tree | 7747731b6e46088287cf4ff3e99b77433895fbb5 | |
parent | f030718e32a40768de5c7104636486b756c7e97c (diff) | |
download | mitmproxy-639b1557a60d473643ece32bc5117dcbbcc43fda.tar.gz mitmproxy-639b1557a60d473643ece32bc5117dcbbcc43fda.tar.bz2 mitmproxy-639b1557a60d473643ece32bc5117dcbbcc43fda.zip |
Don't show error if user tries to save, but specifies no path.
-rw-r--r-- | libmproxy/console.py | 2 | ||||
-rw-r--r-- | todo | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libmproxy/console.py b/libmproxy/console.py index de3f9ab0..e717c13f 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: @@ -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: |