mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-01 15:55:28 +00:00
Bail out if no command was specified after | shortcut.
This commit is contained in:
parent
8e176c2086
commit
65fbb7bd0d
@ -508,7 +508,8 @@ class ConnectionView(WWrap):
|
|||||||
return key
|
return key
|
||||||
|
|
||||||
def run_script(self, path):
|
def run_script(self, path):
|
||||||
self.master._runscript(self.flow, path)
|
if path:
|
||||||
|
self.master._runscript(self.flow, path)
|
||||||
|
|
||||||
|
|
||||||
class _PathCompleter:
|
class _PathCompleter:
|
||||||
|
Loading…
Reference in New Issue
Block a user