small fix
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 23 Jul 2007 14:49:35 +0000 (14:49 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 23 Jul 2007 14:49:35 +0000 (14:49 +0000)
lib/python/Components/Converter/ClockToText.py

index 65e431bcd5bd7a698983305d558b640eaa3d9485..6623f24843f984d3cfdd62c63b66a6786860080a 100644 (file)
@@ -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: