update and cleanup repo
This commit is contained in:
@@ -61,12 +61,12 @@ def florencevision_missing_modules() -> List[str]:
|
||||
|
||||
def _provider_missing_modules(config: Dict[str, Any]) -> Dict[str, List[str]]:
|
||||
missing: Dict[str, List[str]] = {}
|
||||
provider_cfg = (config or {}).get("provider")
|
||||
if not isinstance(provider_cfg, dict):
|
||||
plugin_cfg = (config or {}).get("plugin")
|
||||
if not isinstance(plugin_cfg, dict):
|
||||
return missing
|
||||
|
||||
for provider_name, requirements in _PROVIDER_DEPENDENCIES.items():
|
||||
block = provider_cfg.get(provider_name)
|
||||
block = plugin_cfg.get(provider_name)
|
||||
if not isinstance(block, dict) or not block:
|
||||
continue
|
||||
missing_for_provider = [
|
||||
|
||||
Reference in New Issue
Block a user