From c9329b2e893a5d5138122cb6a5d417504303305e Mon Sep 17 00:00:00 2001 From: Chris Lane Date: Wed, 21 Aug 2013 23:09:31 -0400 Subject: [PATCH] Minor tweak on the last commit. --- cheat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cheat b/cheat index a415ac7..6a054e3 100755 --- a/cheat +++ b/cheat @@ -41,7 +41,8 @@ def cheat_files(cheat_directories): for cheat_dir in reversed(cheat_directories): cheats.update(dict([(cheat, cheat_dir) for cheat in os.listdir(cheat_dir) - if '.' not in cheat])) + if not cheat.startswith('.') + and not cheat.startswith('__')])) return cheats