diff --git a/geeknote/geeknote.py b/geeknote/geeknote.py index b2ebf69..03a63a2 100755 --- a/geeknote/geeknote.py +++ b/geeknote/geeknote.py @@ -949,7 +949,7 @@ def _editWithEditorInThread( result = True prevChecksum = editor.getTempfileChecksum() while True: - if prevChecksum != editor.getTempfileChecksum() and result: + if (prevChecksum != editor.getTempfileChecksum() or not note) and result: newContent = open(editor.tempfile, "r").read() ext = os.path.splitext(editor.tempfile)[1] mapping = {