mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-08 10:22:31 -05:00
@@ -155,6 +155,7 @@ 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
|
||||||
):
|
):
|
||||||
|
if is_pkg:
|
||||||
curr_modules.append(Installable(location=self.folder_path / name))
|
curr_modules.append(Installable(location=self.folder_path / name))
|
||||||
self.available_modules = curr_modules
|
self.available_modules = curr_modules
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user