aboutsummaryrefslogtreecommitdiff
path: root/mytest.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-10-10 03:00:49 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-10-10 03:00:49 +0000
commit01abec53c6856c24666967ee51d25d09fc6b8863 (patch)
tree19d7bbbd3ce91544c36ba2fc38af83c877d82b01 /mytest.py
parentce7847e4311c165e5441ac2dbb0d9cdbe95b68b9 (diff)
downloadenigma2-01abec53c6856c24666967ee51d25d09fc6b8863.tar.gz
enigma2-01abec53c6856c24666967ee51d25d09fc6b8863.zip
add parental control (still somehow buggy and some minor features missing... don't trust it
yet to protect your children)
Diffstat (limited to 'mytest.py')
-rw-r--r--mytest.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mytest.py b/mytest.py
index 26edd6b9..86549f77 100644
--- a/mytest.py
+++ b/mytest.py
@@ -19,6 +19,9 @@ import time
import ServiceReference
+from Components.ParentalControl import InitParentalControl
+InitParentalControl()
+
from Navigation import Navigation
from skin import readSkin, applyAllAttributes
@@ -499,6 +502,9 @@ try:
runScreenTest()
plugins.shutdown()
+
+ from Components.ParentalControl import parentalControl
+ parentalControl.save()
except:
print 'EXCEPTION IN PYTHON STARTUP CODE:'
print '-'*60