mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-11 17:18:30 +02:00
parent
17361d7be5
commit
6da4e44e39
1 changed files with 3 additions and 0 deletions
|
@ -233,6 +233,9 @@ def run(manual_args=None):
|
||||||
install.save_config(original_config, config_path=CONFIG_PATH)
|
install.save_config(original_config, config_path=CONFIG_PATH)
|
||||||
|
|
||||||
elif args.edit:
|
elif args.edit:
|
||||||
|
if not config['editor']:
|
||||||
|
util.prompt(u"[You need to specify an editor in {0} to use the --edit function.]".format(CONFIG_PATH))
|
||||||
|
sys.exit(1)
|
||||||
other_entries = [e for e in old_entries if e not in journal.entries]
|
other_entries = [e for e in old_entries if e not in journal.entries]
|
||||||
# Edit
|
# Edit
|
||||||
old_num_entries = len(journal)
|
old_num_entries = len(journal)
|
||||||
|
|
Loading…
Add table
Reference in a new issue