We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 283f17e commit 6fe2206Copy full SHA for 6fe2206
1 file changed
errbot/plugin_manager.py
@@ -275,7 +275,11 @@ def _load_plugins_generic(
275
feedback: Dict[Path, str],
276
):
277
self._install_potential_package_dependencies(path, feedback)
278
- plugfiles = path.glob("**/*." + extension)
+
279
+ plugfiles = []
280
+ for ext in ("plug", "plugin"):
281
+ plugfiles.extend(path.glob(f"**/*.{ext}"))
282
283
for plugfile in plugfiles:
284
try:
285
plugin_info = PluginInfo.load(plugfile)
0 commit comments