Merge pull request #3334 from artnc/patch-1

Fix error message for failure to start editor
This commit is contained in:
Thomas Kriechbaumer 2018-10-10 17:03:27 +02:00 committed by GitHub
commit eace39f670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: