1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-12 07:58:17 +00:00
This commit is contained in:
Tomasz Duda 2025-01-12 23:56:13 +01:00
parent 8158659787
commit b3c6af9a20

View File

@ -209,9 +209,8 @@ def _supported_target_platforms():
continue continue
if not (path / "__init__.py").is_file(): if not (path / "__init__.py").is_file():
continue continue
name = path.name if _is_target_platform(path.name):
if _is_target_platform(name): target_platforms += [path.name]
target_platforms += [name]
return target_platforms return target_platforms