Fixed a bug whereby the 'cheatsheet not found' error would always be displayed.

This commit is contained in:
Chris Lane 2013-08-18 15:14:19 -04:00
parent dbfce8cbd4
commit 54f379eda5
1 changed files with 3 additions and 3 deletions

6
cheat
View File

@ -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