git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add .jpe extension
[enigma2.git]
/
lib
/
python
/
Screens
/
ParentalControlSetup.py
diff --git
a/lib/python/Screens/ParentalControlSetup.py
b/lib/python/Screens/ParentalControlSetup.py
index cde1f7c264d45d5d79cf743e2658ca465f5848aa..c0561b5deb0acb81d9109c8b02478c397a464091 100644
(file)
--- a/
lib/python/Screens/ParentalControlSetup.py
+++ b/
lib/python/Screens/ParentalControlSetup.py
@@
-51,7
+51,7
@@
class ParentalControlSetup(Screen, ConfigListScreen, ProtectedScreen):
}, -2)
def isProtected(self):
}, -2)
def isProtected(self):
- return config.ParentalControl.setuppinactive.value
+ return config.ParentalControl.setuppinactive.value
and config.ParentalControl.configured.value
def createSetup(self):
self.editListEntry = None
def createSetup(self):
self.editListEntry = None
@@
-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)