Display message when no edits take place (#1510)

This commit is contained in:
Kevin 2022-06-25 11:58:31 -07:00 committed by GitHub
parent 28051046d5
commit ed4f8eacea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View file

@ -46,7 +46,7 @@ def get_text_from_editor(config, template=""):
os.remove(tmpfile)
if not raw:
raise JrnlException(Message(MsgText.NoTextReceived, MsgStyle.ERROR))
raise JrnlException(Message(MsgText.NoTextReceived, MsgStyle.NORMAL))
return raw