mirror of
https://github.com/esphome/esphome.git
synced 2025-02-07 13:40:59 +00:00
clean up
This commit is contained in:
parent
8158659787
commit
b3c6af9a20
@ -209,9 +209,8 @@ def _supported_target_platforms():
|
||||
continue
|
||||
if not (path / "__init__.py").is_file():
|
||||
continue
|
||||
name = path.name
|
||||
if _is_target_platform(name):
|
||||
target_platforms += [name]
|
||||
if _is_target_platform(path.name):
|
||||
target_platforms += [path.name]
|
||||
return target_platforms
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user