Standby.py: re-add remove MessageBox.close
[enigma2.git] / mytest.py
index d34924beec260b4abfc5a7ce7e5351417a3f7802..7a8d7b70b537f65be5ea85bac5cf51b9775ffdba 100755 (executable)
--- a/mytest.py
+++ b/mytest.py
@@ -60,7 +60,7 @@ config.misc.epgcache_filename = ConfigText(default = "/hdd/epg.dat")
 
 def setEPGCachePath(configElement):
        eEPGCache.getInstance().setCacheFile(configElement.value)
-config.misc.epgcache_filename.addNotifier(setEPGCachePath)
+
 
 #demo code for use of standby enter leave callbacks
 #def leaveStandby():
@@ -478,6 +478,8 @@ def runScreenTest():
                else:
                        session.open(screen, *args)
 
+       config.misc.epgcache_filename.addNotifier(setEPGCachePath)
+
        runNextScreen(session, screensToRun)
 
        profile("Init:VolumeControl")