mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-01-12 22:48:54 +08:00
Bail out if no command was specified after | shortcut.
This commit is contained in:
@@ -508,7 +508,8 @@ class ConnectionView(WWrap):
|
||||
return key
|
||||
|
||||
def run_script(self, path):
|
||||
self.master._runscript(self.flow, path)
|
||||
if path:
|
||||
self.master._runscript(self.flow, path)
|
||||
|
||||
|
||||
class _PathCompleter:
|
||||
|
||||
Reference in New Issue
Block a user