mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 05:26:13 +02:00
Fix weird character at the front of the line...
This commit is contained in:
parent
b3ed4926f4
commit
34d437d0ba
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue