small optimizations and cleanups by Moritz Venn
[vuplus_dvbapp] / lib / python / Components / PluginComponent.py
index 6e357cd..fff5c47 100644 (file)
@@ -96,9 +96,9 @@ class PluginComponent:
                res = [ ]
 
                for x in where:
-                       for p in self.plugins.get(x, [ ]):
-                               res.append(p)
-               return res
+                       res.extend(self.plugins.get(x, [ ]))
+
+               return  res
 
        def getPluginsForMenu(self, menuid):
                res = [ ]