sync languages for new strings
[enigma2.git] / mytest.py
index 2dcd0d3317c5c3d7abd83361b090156e0c0fcda3..88c035abecd0114d86bc1c66a3076dbe217c3484 100644 (file)
--- a/mytest.py
+++ b/mytest.py
@@ -1,7 +1,9 @@
+import eConsoleImpl
 import eBaseImpl
 import enigma
 enigma.eTimer = eBaseImpl.eTimer
 enigma.eSocketNotifier = eBaseImpl.eSocketNotifier
+enigma.eConsoleAppContainer = eConsoleImpl.eConsoleAppContainer
 
 from Tools.Profile import profile, profile_final
 
@@ -59,7 +61,7 @@ try:
        from twisted.internet import reactor
 
        def runReactor():
-               reactor.run()
+               reactor.run(installSignalHandlers=False)
 except ImportError:
        print "twisted not available"
        def runReactor():
@@ -478,16 +480,13 @@ def runScreenTest():
                if x != -1
        ]
        wakeupList.sort()
-       if len(wakeupList) and getFPWakeuptime(): # getFPWakeuptime returns 1 when the sanity check in Navigation.py was okay..
+       if len(wakeupList):
                startTime = wakeupList.pop(0)
                if (startTime - nowTime) < 330: # no time to switch box back on
                        wptime = nowTime + 30  # so switch back on in 30 seconds
                else:
                        wptime = startTime - 300
                setFPWakeuptime(wptime)
-       else:
-               print "buggy atmel firmware detected... dont set a wakeup time!"
-               setFPWakeuptime(0)
        profile("stopService")
        session.nav.stopService()
        profile("nav shutdown")