mirror of
https://github.com/Erreur32/cheat.git
synced 2024-10-31 21:11:07 +01:00
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
Block a user