From d30355fd9062e6333af64e64a9a4847ac76ed73e Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 16 Oct 2006 20:39:03 +0000 Subject: [PATCH] fix gettext --- lib/python/Screens/ParentalControlSetup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Screens/ParentalControlSetup.py b/lib/python/Screens/ParentalControlSetup.py index db1a0be3..7c4c3ecf 100644 --- a/lib/python/Screens/ParentalControlSetup.py +++ b/lib/python/Screens/ParentalControlSetup.py @@ -172,7 +172,7 @@ class ParentalControlEditor(Screen): if list is not None: services = list.getContent("CN", True) #(servicecomparestring, name) for s in services: - if s[1][0]=='\xc2' and s[1][1]=='\x86': # ignore shortname brackets + if ord(s[1][0])==0xc2 and ord(s[1][1])==0x86: # ignore shortname brackets key = s[1].lower()[2] else: key = s[1].lower()[0] -- 2.30.2