From 34d437d0babbe30c9835205722ee4ddc46c2aaed Mon Sep 17 00:00:00 2001 From: MinchinWeb Date: Wed, 17 Dec 2014 10:03:21 -0700 Subject: [PATCH] Fix weird character at the front of the line... --- jrnl/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/util.py b/jrnl/util.py index d25fda32..daeee46c 100644 --- a/jrnl/util.py +++ b/jrnl/util.py @@ -126,7 +126,7 @@ def get_text_from_editor(config, template=""): with codecs.open(tmpfile, 'w', "utf-8") as f: if template: f.write(template) - subprocess.call(config['editor'].split() + [tmpfile]) + subprocess.call(config['editor'].split() + [tmpfile]) with codecs.open(tmpfile, "r", "utf-8") as f: raw = f.read() os.close(filehandle);