No longer thinks that __pycache__ is a mod.
This commit is contained in:
parent
252b0b4d43
commit
8094661130
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ def get_available_mods(cfg: Config) -> list:
|
|||
ret = []
|
||||
with os.scandir(cfg.mods_dir) as it:
|
||||
for entry in it:
|
||||
if entry.is_dir():
|
||||
if entry.is_dir() and entry.name != "__pycache__":
|
||||
ret.append(entry.name)
|
||||
return ret
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue