From 769aad0515a3c2654573ca8cc84bd814456ead77 Mon Sep 17 00:00:00 2001 From: Art Chaidarun Date: Sun, 23 Sep 2018 00:20:34 -0400 Subject: [PATCH] Fix error message for failure to start editor --- mitmproxy/tools/console/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/tools/console/master.py b/mitmproxy/tools/console/master.py index 1bc79e5cc..dd15a2f5f 100644 --- a/mitmproxy/tools/console/master.py +++ b/mitmproxy/tools/console/master.py @@ -128,7 +128,7 @@ class ConsoleMaster(master.Master): subprocess.call(cmd) except: signals.status_message.send( - message="Can't start editor: %s" % " ".join(c) + message="Can't start editor: %s" % c ) else: with open(name, "r" if text else "rb") as f: