prepare for skin updating and scaling
[enigma2.git] / lib / python / Components / Converter / RemainingToText.py
index 534fef1885183c930cd74b4a0c6e3ffcaffb677e..adefe9cfd93c830c875213f989d9daf8ec2be0fe 100644 (file)
@@ -1,11 +1,12 @@
 from Components.Converter.Converter import Converter
 from Components.Converter.Converter import Converter
+from Components.Element import cached
 
 class RemainingToText(Converter, object):
 
 class RemainingToText(Converter, object):
-       def __init__(self, type, *args, **kwargs):
-               Converter.__init__(self)
+       def __init__(self, type):
+               Converter.__init__(self, type)
 
 
+       @cached
        def getText(self):
        def getText(self):
-
                r = self.source.time
                if r is None:
                        return ""
                r = self.source.time
                if r is None:
                        return ""