git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
prepare for skin updating and scaling
[enigma2.git]
/
lib
/
python
/
Components
/
Converter
/
RemainingToText.py
diff --git
a/lib/python/Components/Converter/RemainingToText.py
b/lib/python/Components/Converter/RemainingToText.py
index 534fef1885183c930cd74b4a0c6e3ffcaffb677e..adefe9cfd93c830c875213f989d9daf8ec2be0fe 100644
(file)
--- 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.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 ""