single transponder scan works now... but we scan other transponders as well...
[enigma2.git] / mytest.py
index 9e9971899765456069c6014250b95df2d62d774d..74aa2fd1d5e7d36dda79bc8c619137f1d13408fe 100644 (file)
--- a/mytest.py
+++ b/mytest.py
@@ -13,6 +13,8 @@ from Navigation import Navigation
 
 from skin import readSkin, applyAllAttributes
 
+from Components.config import configfile
+
 had = dict()
 
 def dump(dir, p = ""):
@@ -99,7 +101,7 @@ class Session:
                        print 'EXCEPTION IN DIALOG INIT CODE, ABORTING:'
                        print '-'*60
                        traceback.print_exc(file=sys.stdout)
-                       quitMainloop()
+                       quitMainloop(5)
                        print '-'*60
                
                # read skin data
@@ -163,6 +165,8 @@ def runScreenTest():
        
        runMainloop()
        
+       configfile.save()
+       
        session.nav.shutdown()
        
        return 0
@@ -199,24 +203,5 @@ except:
        print 'EXCEPTION IN PYTHON STARTUP CODE:'
        print '-'*60
        traceback.print_exc(file=sys.stdout)
-       quitMainloop()
+       quitMainloop(5)
        print '-'*60
-
-# now, run the mainloop
-
-#pt = eDebugClassPtr()
-#eDebugClass.getDebug(pt, 12)
-#p = pt.__deref__()
-#print pt.x
-#print p.x
-#print "removing ptr..."
-#pt = 0
-#print "now"
-#print "p is " + str(p)
-#print p.x
-#p = 0
-#
-#bla = eDebugClass()
-#bla = eDebugClass(2)
-#
-