add possibility to use ValueRange as ValueEqual Converter
[enigma2.git] / lib / python / Components / Converter / Converter.py
index 3f054c1..424a232 100644 (file)
@@ -1,4 +1,12 @@
 from Components.Element import Element
 
 class Converter(Element):
-       pass
+       def __init__(self, arguments):
+               Element.__init__(self)
+               self.converter_arguments = arguments
+
+       def __repr__(self):
+               return str(type(self)) + "(" + self.converter_arguments + ")"
+
+       def handleCommand(self, cmd):
+               self.source.handleCommand(cmd)