Fixed retrieval of entities plugin.

This commit is contained in:
Fabio Manganiello 2023-04-30 10:42:05 +02:00
parent 94a493580c
commit 5d4bffa119
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -99,7 +99,7 @@ class Plugin(EventGenerator, ExtensionWithManifest): # lgtm [py/missing-call-to
from platypush.context import get_plugin
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'
return entities