reenable support for one (lonely) NIM
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 21 Nov 2005 16:08:11 +0000 (16:08 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 21 Nov 2005 16:08:11 +0000 (16:08 +0000)
lib/python/Components/NimManager.py

index 05afcbd..2f0f088 100644 (file)
@@ -166,6 +166,9 @@ class NimManager:
                                self.nimTypes[lastsocket] = str(line.strip()[6:])
                        elif line.strip().startswith("Name:"):
                                self.nimNames[lastsocket] = str(line.strip()[6:])
                                self.nimTypes[lastsocket] = str(line.strip()[6:])
                        elif line.strip().startswith("Name:"):
                                self.nimNames[lastsocket] = str(line.strip()[6:])
+                       elif line.strip().startswith("empty"):
+                               self.nimNames[lastsocket] = _("N/A")
+                               self.nimTypes[lastsocket] = "empty/unknown"
 
                nimfile.close()
                
 
                nimfile.close()