mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 13:08:31 +02:00
parent
ef23d7eabe
commit
2890e33cac
1 changed files with 2 additions and 0 deletions
|
@ -200,6 +200,8 @@ def run(manual_args=None):
|
|||
util.prompt("[Could not read template at '']".format(config['template']))
|
||||
sys.exit(1)
|
||||
raw = util.get_text_from_editor(config, template)
|
||||
if not raw:
|
||||
sys.exit()
|
||||
else:
|
||||
try:
|
||||
raw = util.py23_read("[Compose Entry; " + _exit_multiline_code + " to finish writing]\n")
|
||||
|
|
Loading…
Add table
Reference in a new issue