diff --git a/jrnl/util.py b/jrnl/util.py index 1fd99c24..bb561308 100644 --- a/jrnl/util.py +++ b/jrnl/util.py @@ -118,7 +118,6 @@ def load_config(config_path): def get_text_from_editor(config, template=""): - tmpfile = os.path.join(tempfile.mktemp(prefix="jrnl", suffix=".txt")) filehandle, tmpfile = tempfile.mkstemp(prefix="jrnl", text=True, suffix=".txt") with codecs.open(tmpfile, 'w', "utf-8") as f: if template: