diff --git a/jrnl/util.py b/jrnl/util.py index 504be650..7191cb69 100644 --- a/jrnl/util.py +++ b/jrnl/util.py @@ -129,8 +129,6 @@ def get_text_from_editor(config, template=""): if template: with codecs.open(tmpfile, 'w', "utf-8") as f: f.write(template) - with open(tmpfile, 'w'): - pass subprocess.call(config['editor'].split() + [tmpfile]) with codecs.open(tmpfile, "r", "utf-8") as f: raw = f.read()