mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-23 11:56:52 +08:00
Don't show error if user tries to save, but specifies no path.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user