Format string typo fix

This commit is contained in:
Fabio Manganiello 2023-06-30 23:02:46 +02:00
parent 9a7fc031d9
commit 42a990a132
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -139,7 +139,7 @@ def get_plugin(plugin, plugin_name=None, reload=False):
module_name = None
if isinstance(plugin, str):
module_name = 'platypush.plugins.{name}'
module_name = f'platypush.plugins.{name}'
elif issubclass(plugin, Plugin):
module_name = plugin.__module__
else: