mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-13 10:16:12 +02:00
Display message when no edits take place (#1510)
This commit is contained in:
parent
28051046d5
commit
ed4f8eacea
3 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue