git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parental locking fixes
[enigma2.git]
/
lib
/
python
/
Screens
/
ParentalControlSetup.py
diff --git
a/lib/python/Screens/ParentalControlSetup.py
b/lib/python/Screens/ParentalControlSetup.py
index 38c937faac181f1475677f9d1ecad3d5c1f6d0df..c0561b5deb0acb81d9109c8b02478c397a464091 100644
(file)
--- a/
lib/python/Screens/ParentalControlSetup.py
+++ b/
lib/python/Screens/ParentalControlSetup.py
@@
-192,10
+192,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 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()[0]
if key < 'a' or key > 'z':
key = chr(SPECIAL_CHAR)
#key = str(key)
if key < 'a' or key > 'z':
key = chr(SPECIAL_CHAR)
#key = str(key)