1
0
Fork 0

allow for multi-level setup subdirectory depth

This commit is contained in:
Kim, Jimin 2022-11-12 00:41:59 +09:00
parent 8704fed7f1
commit 08af4bbcb0

View file

@ -14,7 +14,7 @@ def choose_action():
s.removeprefix(f"{content_dir}/src/setup/"),
s,
).name}"""
for s in glob(f"{content_dir}/src/setup/**/*.py")
for s in glob(f"{content_dir}/src/setup/**/*.py", recursive=True)
if "__init__.py" not in s
]