forked from platypush/platypush
Format string typo fix
This commit is contained in:
parent
9a7fc031d9
commit
42a990a132
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ def get_plugin(plugin, plugin_name=None, reload=False):
|
||||||
|
|
||||||
module_name = None
|
module_name = None
|
||||||
if isinstance(plugin, str):
|
if isinstance(plugin, str):
|
||||||
module_name = 'platypush.plugins.{name}'
|
module_name = f'platypush.plugins.{name}'
|
||||||
elif issubclass(plugin, Plugin):
|
elif issubclass(plugin, Plugin):
|
||||||
module_name = plugin.__module__
|
module_name = plugin.__module__
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue