Merge branch 'master' into experimental
authorghost <andreas.monzner@multimedia-labs.de>
Tue, 14 Dec 2010 15:14:44 +0000 (16:14 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Tue, 14 Dec 2010 15:14:44 +0000 (16:14 +0100)
mytest.py

index d34924b..7a8d7b7 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")