mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2025-02-01 15:55:28 +00:00
Merge branch 'master' of ssh.github.com:cortesi/mitmproxy
This commit is contained in:
commit
f25c532960
@ -446,7 +446,7 @@ class ConsoleMaster(flow.FlowMaster):
|
|||||||
if not path:
|
if not path:
|
||||||
return
|
return
|
||||||
self.add_event("Running script on flow: %s"%path)
|
self.add_event("Running script on flow: %s"%path)
|
||||||
ret = self.get_script(path)
|
ret = self.get_script(shlex.split(path, posix=(os.name != "nt")))
|
||||||
if ret[0]:
|
if ret[0]:
|
||||||
self.statusbar.message("Error loading script.")
|
self.statusbar.message("Error loading script.")
|
||||||
self.add_event("Error loading script:\n%s"%ret[0])
|
self.add_event("Error loading script:\n%s"%ret[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user