aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.