Update sheets.py

Added a missing .lower() to the line
This commit is contained in:
tculp 2018-10-15 12:21:52 -04:00 committed by GitHub
parent 4b6dc22c0a
commit cebe3de389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 != '':