git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make bouquet +/- keys working in providers and satellites too
[enigma2.git]
/
lib
/
python
/
Screens
/
ParentalControlSetup.py
diff --git
a/lib/python/Screens/ParentalControlSetup.py
b/lib/python/Screens/ParentalControlSetup.py
index db1a0be3925f642ab6dcade1d6c587501d06de51..7c4c3ecff781ef3520b1b2bdaf5cd519ca3094c8 100644
(file)
--- 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 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]
key = s[1].lower()[2]
else:
key = s[1].lower()[0]