aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-23 14:49:35 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-23 14:49:35 +0000
commit31199ef6b4d897a838ee6dafd964d1c2dcd1820c (patch)
tree9f17bb36e1fcb352f705ef39d5d0084675061f9b /lib/python/Components
parentc5587612e8f663b8229129b05b0115f329106563 (diff)
downloadenigma2-31199ef6b4d897a838ee6dafd964d1c2dcd1820c.tar.gz
enigma2-31199ef6b4d897a838ee6dafd964d1c2dcd1820c.zip
small fix
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/Converter/ClockToText.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/Converter/ClockToText.py b/lib/python/Components/Converter/ClockToText.py
index 65e431bc..6623f248 100644
--- a/lib/python/Components/Converter/ClockToText.py
+++ b/lib/python/Components/Converter/ClockToText.py
@@ -20,7 +20,7 @@ class ClockToText(Converter, object):
self.type = self.IN_MINUTES
elif type == "Date":
self.type = self.DATE
- elif type.find("Format") != -1:
+ elif str(type).find("Format") != -1:
self.type = self.FORMAT
self.fmt_string = type[7:]
else: