mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-08 20:28:55 -05:00
parent
73a427f6aa
commit
4378e5295d
@ -155,7 +155,8 @@ class Repo(RepoJSONMixin):
|
|||||||
for file_finder, name, is_pkg in pkgutil.walk_packages(
|
for file_finder, name, is_pkg in pkgutil.walk_packages(
|
||||||
path=[str(self.folder_path)], onerror=lambda name: None
|
path=[str(self.folder_path)], onerror=lambda name: None
|
||||||
):
|
):
|
||||||
curr_modules.append(Installable(location=self.folder_path / name))
|
if is_pkg:
|
||||||
|
curr_modules.append(Installable(location=self.folder_path / name))
|
||||||
self.available_modules = curr_modules
|
self.available_modules = curr_modules
|
||||||
|
|
||||||
# noinspection PyTypeChecker
|
# noinspection PyTypeChecker
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user