[Util] delete old, unused code

This commit is contained in:
MinchinWeb 2015-05-03 22:12:10 -06:00
parent cf7b5d95eb
commit 91368c7b63

View file

@ -118,7 +118,6 @@ def load_config(config_path):
def get_text_from_editor(config, template=""): 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") filehandle, tmpfile = tempfile.mkstemp(prefix="jrnl", text=True, suffix=".txt")
with codecs.open(tmpfile, 'w', "utf-8") as f: with codecs.open(tmpfile, 'w', "utf-8") as f:
if template: if template: