mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 10:16:27 +00:00
Don't show error if user tries to save, but specifies no path.
This commit is contained in:
parent
f030718e32
commit
639b1557a6
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user