mirror of
https://github.com/cheat/cheat.git
synced 2025-11-05 00:05:27 +01:00
Fixed a bug whereby the 'cheatsheet not found' error would always be displayed.
This commit is contained in:
4
cheat
4
cheat
@@ -64,6 +64,6 @@ for sheet in cheatsheets:
|
|||||||
print cheatsheet.read()
|
print cheatsheet.read()
|
||||||
sheet_found = True
|
sheet_found = True
|
||||||
|
|
||||||
# if it does not, say so
|
# if it does not, say so
|
||||||
else:
|
else:
|
||||||
print 'No cheatsheet found for %s.' % keyphrase
|
print 'No cheatsheet found for %s.' % keyphrase
|
||||||
|
|||||||
Reference in New Issue
Block a user