mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-20 18:06:08 -05:00
@@ -155,7 +155,8 @@ class Repo(RepoJSONMixin):
|
||||
for file_finder, name, is_pkg in pkgutil.walk_packages(
|
||||
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
|
||||
|
||||
# noinspection PyTypeChecker
|
||||
|
||||
Reference in New Issue
Block a user