From: Andreas Monzner Date: Mon, 23 Jul 2007 14:49:35 +0000 (+0000) Subject: small fix X-Git-Tag: 2.6.0~2043 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/31199ef6b4d897a838ee6dafd964d1c2dcd1820c?ds=sidebyside small fix --- 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: