From 31199ef6b4d897a838ee6dafd964d1c2dcd1820c Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 23 Jul 2007 14:49:35 +0000 Subject: [PATCH] small fix --- lib/python/Components/Converter/ClockToText.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2