X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/2e874fa14264bf37f17ae9b9375e26059e7f35ec..5e0d91a196bfe872d04d676e5f6c2d5940786be0:/lib/python/Components/Converter/RemainingToText.py diff --git a/lib/python/Components/Converter/RemainingToText.py b/lib/python/Components/Converter/RemainingToText.py index 534fef18..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, *args, **kwargs): - Converter.__init__(self) + def __init__(self, type): + Converter.__init__(self, type) + @cached def getText(self): - r = self.source.time if r is None: return ""