mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-21 13:38:31 +02:00
Fixes #932
This commit is contained in:
parent
3820c1f4ba
commit
07716b4954
1 changed files with 3 additions and 0 deletions
|
@ -478,5 +478,8 @@ def run(manual_args=None):
|
||||||
journal.write()
|
journal.write()
|
||||||
|
|
||||||
elif args.delete:
|
elif args.delete:
|
||||||
|
other_entries = [e for e in old_entries if e not in journal.entries]
|
||||||
journal.prompt_delete_entries()
|
journal.prompt_delete_entries()
|
||||||
|
journal.entries += other_entries
|
||||||
|
journal.sort()
|
||||||
journal.write()
|
journal.write()
|
||||||
|
|
Loading…
Add table
Reference in a new issue