From dc6900e9fe6683e3e0fc477f205dc9612955ea9a Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 28 Jan 2023 12:48:49 -0800 Subject: [PATCH] Remove ipdb and remove search mode conditional that added explicit tag search behavior --- jrnl/controller.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/jrnl/controller.py b/jrnl/controller.py index 03d128f9..86a8d566 100644 --- a/jrnl/controller.py +++ b/jrnl/controller.py @@ -176,9 +176,9 @@ def search_mode(args: "Namespace", journal: Journal, **kwargs) -> None: if ( not _has_search_args(args) and not _has_display_args(args) - and not _has_only_tags(kwargs["config"]["tagsymbols"], args.text) + and not args.text ): - logging.debug("Search mode: has not search args") + logging.debug("Search mode: has no search args") return logging.debug("Search mode: has search args") @@ -374,10 +374,6 @@ def _change_time_search_results( old_entries: list["Entry"], **kwargs, ) -> None: - - import ipdb - - ipdb.sset_trace() # separate entries we are not editing # @todo if there's only 1, don't prompt entries_to_change = journal.prompt_action_entries(MsgText.ChangeTimeEntryQuestion)