mirror of
https://github.com/cheat/cheat.git
synced 2024-12-22 20:55:06 +01:00
Update sheets.py
Added a missing .lower() to the line
This commit is contained in:
parent
4b6dc22c0a
commit
cebe3de389
@ -84,7 +84,7 @@ def search(term):
|
|||||||
for cheatsheet in sorted(get().items()):
|
for cheatsheet in sorted(get().items()):
|
||||||
match = ''
|
match = ''
|
||||||
for line in open(cheatsheet[1]):
|
for line in open(cheatsheet[1]):
|
||||||
if lowered_term in line:
|
if lowered_term in line.lower():
|
||||||
match += ' ' + line
|
match += ' ' + line
|
||||||
|
|
||||||
if match != '':
|
if match != '':
|
||||||
|
Loading…
Reference in New Issue
Block a user