X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=mytest.py;h=b40552cce9ba627b6a2233f680cc098fa4448985;hb=35bde45a0eb503c51ed4d986ea16a71e041ade48;hp=2dcd0d3317c5c3d7abd83361b090156e0c0fcda3;hpb=92362f1b73f1e61ad0cb1c581b318b360e0bb6fe;p=vuplus_dvbapp diff --git a/mytest.py b/mytest.py index 2dcd0d3..b40552c 100644 --- 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 @@ -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")