mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-03 19:27:14 +00:00
parent
b9d4eb103e
commit
8472ed97ed
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,7 @@ class ConsoleMaster(flow.FlowMaster):
|
|||
if not path:
|
||||
return
|
||||
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]:
|
||||
self.statusbar.message("Error loading script.")
|
||||
self.add_event("Error loading script:\n%s"%ret[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue