mirror of https://github.com/cheat/cheat.git
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