mirror of
https://github.com/esphome/esphome.git
synced 2025-01-03 19:31:46 +01:00
Allow multiple unnamed libraries (#2132)
This commit is contained in:
parent
dfffaace26
commit
5bfac5ec09
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ class EsphomeCore:
|
||||||
"".format(library, type(library))
|
"".format(library, type(library))
|
||||||
)
|
)
|
||||||
for other in self.libraries[:]:
|
for other in self.libraries[:]:
|
||||||
if other.name != library.name:
|
if other.name != library.name or other.name is None or library.name is None:
|
||||||
continue
|
continue
|
||||||
if other.repository is not None:
|
if other.repository is not None:
|
||||||
if library.repository is None or other.repository == library.repository:
|
if library.repository is None or other.repository == library.repository:
|
||||||
|
|
Loading…
Reference in a new issue