patch by Mike Looijmans: support plugins with a dash in description
authorFelix Domke <felix.domke@multimedia-labs.de>
Mon, 10 Aug 2009 10:00:49 +0000 (12:00 +0200)
committerFelix Domke <felix.domke@multimedia-labs.de>
Mon, 10 Aug 2009 10:00:49 +0000 (12:00 +0200)
lib/python/Screens/PluginBrowser.py

index 5ba7043..15e6dc8 100644 (file)
@@ -184,7 +184,7 @@ class PluginDownloadBrowser(Screen):
                        self.remainingdata = ""
 
                for x in lines:
-                       plugin = x.split(" - ")
+                       plugin = x.split(" - ", 2)
                        if len(plugin) == 3:
                                if self.run == 1 and self.type == self.DOWNLOAD:
                                        self.installedplugins.append(plugin[0])