diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-08-09 00:26:15 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-08-09 00:26:15 +0000 |
| commit | 9d3112aad388b4369a339b851aa2507a02bb2d4f (patch) | |
| tree | 744d27b53a25921978f8df8b1b1c2c836caa442c /lib/python/Components/Converter/ClockToText.py | |
| parent | ab2ae6bd08a0ef13fc7462d51fc3a9ab15509b17 (diff) | |
| download | enigma2-9d3112aad388b4369a339b851aa2507a02bb2d4f.tar.gz enigma2-9d3112aad388b4369a339b851aa2507a02bb2d4f.zip | |
fix caching
Diffstat (limited to 'lib/python/Components/Converter/ClockToText.py')
| -rw-r--r-- | lib/python/Components/Converter/ClockToText.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Components/Converter/ClockToText.py b/lib/python/Components/Converter/ClockToText.py index 5d5df651..5cc709f2 100644 --- a/lib/python/Components/Converter/ClockToText.py +++ b/lib/python/Components/Converter/ClockToText.py @@ -1,5 +1,6 @@ from Converter import Converter from time import localtime, strftime +from Components.Element import cached class ClockToText(Converter, object): DEFAULT = 0 @@ -21,6 +22,7 @@ class ClockToText(Converter, object): else: self.type = self.DEFAULT + @cached def getText(self): time = self.source.time if time is None: |
