mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Spelling fixes (#11940)
This commit is contained in:
committed by
Paulus Schoutsen
parent
94316f07a2
commit
55ee8959ba
@@ -148,7 +148,7 @@ def get_component(comp_name) -> Optional[ModuleType]:
|
||||
# a namespace. We do not care about namespaces.
|
||||
# This prevents that when only
|
||||
# custom_components/switch/some_platform.py exists,
|
||||
# the import custom_components.switch would succeeed.
|
||||
# the import custom_components.switch would succeed.
|
||||
if module.__spec__.origin == 'namespace':
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user