diff --git a/comictaggerlib/ctsettings/plugin_finder.py b/comictaggerlib/ctsettings/plugin_finder.py index 7464d35..70c3b3a 100644 --- a/comictaggerlib/ctsettings/plugin_finder.py +++ b/comictaggerlib/ctsettings/plugin_finder.py @@ -136,7 +136,7 @@ def find_plugins(plugin_folder: pathlib.Path) -> Plugins: """Discovers all plugins (but does not load them).""" ret: list[LoadedPlugin] = [] - zips = [x for x in plugin_folder.glob("*.zip") if x.is_file()] + zips = [x for x in plugin_folder.iterdir() if x.is_file() and x.suffix in (".zip", ".whl")] for plugin_path in os_sorted(zips): logger.debug("looking for plugins in %s", plugin_path)