diff --git a/openandroidinstaller/installer_config.py b/openandroidinstaller/installer_config.py index 70ca5a01..4768284e 100644 --- a/openandroidinstaller/installer_config.py +++ b/openandroidinstaller/installer_config.py @@ -98,7 +98,7 @@ def from_file(cls, path): def _find_config_file(device_code: str, config_path: Path) -> Optional[Path]: """Find the config file which is supported by the given device code.""" - for path in config_path.rglob("*.yaml"): + for path in config_path.glob("*.yaml"): with open(path, "r", encoding="utf-8") as stream: try: raw_config = dict(yaml.safe_load(stream))