From 42a990a132bb26e9d710f8104ae39b1eea47273d Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 30 Jun 2023 23:02:46 +0200 Subject: [PATCH] Format string typo fix --- platypush/context/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: