This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-08-26 21:20:47 +02:00
parent 2723ced901
commit 5d7ce3cf71
12 changed files with 2055 additions and 2350 deletions

View File

@@ -141,6 +141,9 @@ def get_notes_containing(patterns: Union[list[str], str]) -> str:
ret += f"{datetime.strftime(entry.time, '%Y/%m/%d %H:%M')} {entry.content}"
is_first = False
if ret == "":
ret = "No matching notes were found. Try diffrent patterns."
return ret
@tool