From cebe3de3899bb2dea17b426ce8bb3ee29a5f8541 Mon Sep 17 00:00:00 2001 From: tculp Date: Mon, 15 Oct 2018 12:21:52 -0400 Subject: [PATCH] Update sheets.py Added a missing .lower() to the line --- cheat/sheets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cheat/sheets.py b/cheat/sheets.py index 58cf976..61b851d 100644 --- a/cheat/sheets.py +++ b/cheat/sheets.py @@ -84,7 +84,7 @@ def search(term): for cheatsheet in sorted(get().items()): match = '' for line in open(cheatsheet[1]): - if lowered_term in line: + if lowered_term in line.lower(): match += ' ' + line if match != '':