Skip to content

Commit 076b060

Browse files
committed
Only look for a config file in the root of the executable and in the assets directory of the application
1 parent be8d660 commit 076b060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openandroidinstaller/installer_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def from_file(cls, path):
9898

9999
def _find_config_file(device_code: str, config_path: Path) -> Optional[Path]:
100100
"""Find the config file which is supported by the given device code."""
101-
for path in config_path.rglob("*.yaml"):
101+
for path in config_path.glob("*.yaml"):
102102
with open(path, "r", encoding="utf-8") as stream:
103103
try:
104104
raw_config = dict(yaml.safe_load(stream))

0 commit comments

Comments
 (0)