mirror of https://github.com/cheat/cheat.git
Minor tweak on the last commit.
This commit is contained in:
parent
43e66c7747
commit
c9329b2e89
3
cheat
3
cheat
|
@ -41,7 +41,8 @@ def cheat_files(cheat_directories):
|
||||||
for cheat_dir in reversed(cheat_directories):
|
for cheat_dir in reversed(cheat_directories):
|
||||||
cheats.update(dict([(cheat, cheat_dir)
|
cheats.update(dict([(cheat, cheat_dir)
|
||||||
for cheat in os.listdir(cheat_dir)
|
for cheat in os.listdir(cheat_dir)
|
||||||
if '.' not in cheat]))
|
if not cheat.startswith('.')
|
||||||
|
and not cheat.startswith('__')]))
|
||||||
return cheats
|
return cheats
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue