fix caching
[enigma2.git] / lib / python / Components / Converter / RemainingToText.py
index 007095e..adefe9c 100644 (file)
@@ -1,11 +1,12 @@
 from Components.Converter.Converter import Converter
+from Components.Element import cached
 
 class RemainingToText(Converter, object):
        def __init__(self, type):
                Converter.__init__(self, type)
 
+       @cached
        def getText(self):
-
                r = self.source.time
                if r is None:
                        return ""