translations
[enigma2.git] / mytest.py
index 42bcd3eefe17fa91ae139b4581ec29afc5634ebd..571747c9b1cf304a7c91f8eceb25a23e1d2caf95 100644 (file)
--- a/mytest.py
+++ b/mytest.py
@@ -18,6 +18,7 @@ from skin import readSkin, applyAllAttributes
 from Components.config import configfile
 from Screens.Wizard import wizardManager
 from Screens.StartWizard import *
+from Screens.TutorialWizard import *
 from Tools.BoundFunction import boundFunction
 
 had = dict()
@@ -75,8 +76,6 @@ class Session:
 
                if self.currentDialog.isTmp:
                        self.currentDialog.doClose()
-
-                       del self.currentDialog.instance
 #                      dump(self.currentDialog)
                        del self.currentDialog
                else:
@@ -121,6 +120,9 @@ class Session:
                        quitMainloop(5)
                        print '-'*60
                
+               if dlg is None:
+                       return
+
                # read skin data
                readSkin(dlg, None, dlg.skinName, self.desktop)