mirror of
https://github.com/esphome/esphome.git
synced 2025-02-12 07:58:17 +00:00
clean up
This commit is contained in:
parent
8158659787
commit
b3c6af9a20
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user