PluginBrowser.py: fix name splitting (thx to
authorghost <andreas.monzner@multimedia-labs.de>
Wed, 15 Apr 2009 19:06:03 +0000 (21:06 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Wed, 15 Apr 2009 19:06:03 +0000 (21:06 +0200)
Mike Looijmans)

lib/python/Screens/PluginBrowser.py

index e39c4b8..5ba7043 100644 (file)
@@ -202,7 +202,7 @@ class PluginDownloadBrowser(Screen):
                
                self.plugins = {}
                for x in self.pluginlist:
-                       split = x[3].split('-')
+                       split = x[3].split('-', 1)
                        if len(split) < 2:
                                continue
                        if not self.plugins.has_key(split[0]):