fix linked tuners option in tuner config,
[enigma2.git] / lib / python / Components / Converter / ConditionalShowHide.py
index 56fb1453aef5e14a8debef7b59c91fc60da369fe..d72447d91047b184b38ad2217c8eca78b7fb9924 100644 (file)
@@ -1,11 +1,10 @@
 from Converter import Converter
 
 class ConditionalShowHide(Converter, object):
-
-       def __init__(self, type, *args, **kwargs):
-               Converter.__init__(self)
+       def __init__(self, type):
+               Converter.__init__(self, type)
                self.invert = type == "Invert"
 
-       def changed(self):
+       def changed(self, what):
                for x in self.downstream_elements:
                        x.visible = self.source.boolean