From 86ebc4fae922e29174b3e33ab77dc2e089f67396 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 3 Feb 2021 17:42:20 +0100 Subject: [PATCH] Get the plugin name, not the object --- platypush/plugins/media/ctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/media/ctrl.py b/platypush/plugins/media/ctrl.py index 97e65991b..d24f3892c 100644 --- a/platypush/plugins/media/ctrl.py +++ b/platypush/plugins/media/ctrl.py @@ -60,7 +60,7 @@ class MediaCtrlPlugin(Plugin): return self.plugin configured_media_plugins = [ - Config.get(plugin) for plugin in MediaPlugin._supported_media_plugins + plugin for plugin in MediaPlugin._supported_media_plugins if Config.get(plugin) ]