X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FPluginComponent.py;h=b06246b25939f4ec4f39810b8292e42ce1534a00;hb=f1186b323fe59536ceb717a799839e9cbc48b30a;hp=a713c3b42dd721d4664c70743a5532db7c81d664;hpb=d0b930ead23a8e38f08461ed3408c57afd01bd75;p=vuplus_dvbapp diff --git a/lib/python/Components/PluginComponent.py b/lib/python/Components/PluginComponent.py index a713c3b..b06246b 100755 --- a/lib/python/Components/PluginComponent.py +++ b/lib/python/Components/PluginComponent.py @@ -49,7 +49,6 @@ class PluginComponent: directory_category = directory + c if not os_path.isdir(directory_category): continue - open(directory_category + "/__init__.py", "a").close() for pluginname in os_listdir(directory_category): path = directory_category + "/" + pluginname if os_path.isdir(path): @@ -129,7 +128,6 @@ class PluginComponent: res = [ ] for p in self.getPlugins(PluginDescriptor.WHERE_MENU): res += p(menuid) - res.sort(key=lambda x:x.weight) return res def clearPluginList(self):