fix fix
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Sat, 4 Mar 2006 19:40:59 +0000 (19:40 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Sat, 4 Mar 2006 19:40:59 +0000 (19:40 +0000)
lib/python/Plugins/Extensions/ZappingAlternatives/plugin.py

index f4bc3fad6e5f9902ed3b85affa7599070349610a..424641c97e2ba808c8f3207b98d6b603813ced9c 100644 (file)
@@ -38,7 +38,7 @@ def removeAlternative(service1, service2):
                del alternatives[service2]
                
 def loadAlternatives():
-       doc = xml.dom.minidom.parse(self.filename)
+       doc = xml.dom.minidom.parse(resolveFilename(SCOPE_CONFIG, "alternatives.xml"))
        
        root = doc.childNodes[0]
        for service in elementsWithTag(root.childNodes, 'service'):