From 256a6932c3eef45908c5e6d29552d0f35b76c4e7 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 21 Feb 2024 13:29:12 +0100 Subject: Centralize printing of subpaths --- pnote/tools/search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pnote/tools/search.py') diff --git a/pnote/tools/search.py b/pnote/tools/search.py index 298010b..ece7fff 100644 --- a/pnote/tools/search.py +++ b/pnote/tools/search.py @@ -28,7 +28,7 @@ class ToolSearch(Tool): if not content_only: if not first: print() - print("=> "+subpath) + self.printsubpath(subpath) self.catsubpath(project,subpath) first=False @@ -50,7 +50,7 @@ class ToolSearch(Tool): if not content_only: if not first: print() - print("=> "+subpath) + self.printsubpath(subpath) for line in entry[1]: ln=line[0] content=line[1] -- cgit v1.2.3