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