Minor tweak on the last commit.

This commit is contained in:
Chris Lane 2013-08-21 23:09:31 -04:00
parent 43e66c7747
commit c9329b2e89

3
cheat
View File

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