aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgithub-actions <41898282+github-actions[bot]@users.noreply.github.com>2025-06-04 18:33:45 +0000
committergithub-actions <41898282+github-actions[bot]@users.noreply.github.com>2025-06-04 18:33:45 +0000
commit159f549b3e07c0b86ce0a41cae7abf2ca38efd71 (patch)
tree575fb6938a444c920893a95805b1fa923aabebaf
parentd4166e03980177c3395fddac85977645ee2a4294 (diff)
downloadcrumb-159f549b3e07c0b86ce0a41cae7abf2ca38efd71.tar.gz
crumb-159f549b3e07c0b86ce0a41cae7abf2ca38efd71.tar.bz2
crumb-159f549b3e07c0b86ce0a41cae7abf2ca38efd71.zip
Commit from GitHub Actions (Ruff)
-rw-r--r--search.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/search.py b/search.py
index ad81184..403a5fa 100644
--- a/search.py
+++ b/search.py
@@ -3,6 +3,7 @@ import sys
LOG_PATH = os.path.expanduser("~/.crumb/history.org")
+
def search_log(query):
"""
Search for a given query string within the crumb history log file and print matching entries.
@@ -29,6 +30,7 @@ def search_log(query):
if found == 0:
print("No matches found.")
+
if __name__ == "__main__":
"""
Entry point for the script. Parses command line arguments and calls the search function.