forked from platypush/platypush
Fixed retrieval of entities
plugin.
This commit is contained in:
parent
94a493580c
commit
5d4bffa119
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class Plugin(EventGenerator, ExtensionWithManifest): # lgtm [py/missing-call-to
|
||||||
from platypush.context import get_plugin
|
from platypush.context import get_plugin
|
||||||
from platypush.plugins.entities import EntitiesPlugin
|
from platypush.plugins.entities import EntitiesPlugin
|
||||||
|
|
||||||
entities: EntitiesPlugin = get_plugin(EntitiesPlugin) # type: ignore
|
entities: EntitiesPlugin = get_plugin('entities') # type: ignore
|
||||||
assert entities, 'entities plugin not initialized'
|
assert entities, 'entities plugin not initialized'
|
||||||
return entities
|
return entities
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue