Skip to content

Commit 6fe2206

Browse files
somsominsijis
authored andcommitted
Your commit message
1 parent 283f17e commit 6fe2206

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

errbot/plugin_manager.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,11 @@ def _load_plugins_generic(
275275
feedback: Dict[Path, str],
276276
):
277277
self._install_potential_package_dependencies(path, feedback)
278-
plugfiles = path.glob("**/*." + extension)
278+
279+
plugfiles = []
280+
for ext in ("plug", "plugin"):
281+
plugfiles.extend(path.glob(f"**/*.{ext}"))
282+
279283
for plugfile in plugfiles:
280284
try:
281285
plugin_info = PluginInfo.load(plugfile)

0 commit comments

Comments
 (0)