diff --git a/platypush/context/__init__.py b/platypush/context/__init__.py index 6040102e3..d32b9c41e 100644 --- a/platypush/context/__init__.py +++ b/platypush/context/__init__.py @@ -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: