aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Converter/RemainingToText.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/Converter/RemainingToText.py')
-rw-r--r--lib/python/Components/Converter/RemainingToText.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/Converter/RemainingToText.py b/lib/python/Components/Converter/RemainingToText.py
index 007095e0..adefe9cf 100644
--- a/lib/python/Components/Converter/RemainingToText.py
+++ b/lib/python/Components/Converter/RemainingToText.py
@@ -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 ""