Merge branch 'master' of ssh.github.com:cortesi/mitmproxy

This commit is contained in:
Aldo Cortesi 2014-01-04 13:15:13 +13:00
commit f25c532960
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,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])