From 54f379eda5d08d9e5774acdb8219fe8009dbeb58 Mon Sep 17 00:00:00 2001 From: Chris Lane Date: Sun, 18 Aug 2013 15:14:19 -0400 Subject: [PATCH] Fixed a bug whereby the 'cheatsheet not found' error would always be displayed. --- cheat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cheat b/cheat index 29a5add..bf6de3e 100755 --- a/cheat +++ b/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