add handleCommand to converter
[enigma2.git] / lib / python / Components / Converter / Converter.py
1 from Components.Element import Element
2
3 class Converter(Element):
4         def __init__(self, arguments):
5                 Element.__init__(self)
6                 self.converter_arguments = arguments
7
8         def __repr__(self):
9                 return str(type(self)) + "(" + self.converter_arguments + ")"
10
11         def handleCommand(self, cmd):
12                 self.source.handleCommand(cmd)