mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 19:48:31 +02:00
clean up old code
This commit is contained in:
parent
4a4a874f9f
commit
c7c6ecfdf9
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ def _pluralize_entry(num):
|
||||||
|
|
||||||
def _delete_search_results(journal, old_entries, **kwargs):
|
def _delete_search_results(journal, old_entries, **kwargs):
|
||||||
if not journal.entries:
|
if not journal.entries:
|
||||||
raise JrnlException(JrnlExceptionMessage.NothingToDelete)
|
raise JrnlException(Message(MsgText.NothingToDelete, MsgType.ERROR))
|
||||||
|
|
||||||
entries_to_delete = journal.prompt_delete_entries()
|
entries_to_delete = journal.prompt_delete_entries()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue