X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e75a3982be89898b54bf2b6bf91d36170d4c4409..839be671393e0b2503ca831e7d6f716523f9724c:/mytest.py diff --git a/mytest.py b/mytest.py index 206802e7..242f19e5 100644 --- a/mytest.py +++ b/mytest.py @@ -16,7 +16,8 @@ from Navigation import Navigation from skin import readSkin, applyAllAttributes from Components.config import configfile -from Screens.Wizard import listActiveWizards +from Screens.Wizard import wizardManager +from Screens.StartWizard import * from Tools.BoundFunction import boundFunction had = dict() @@ -74,8 +75,6 @@ class Session: if self.currentDialog.isTmp: self.currentDialog.doClose() - - del self.currentDialog.instance # dump(self.currentDialog) del self.currentDialog else: @@ -120,6 +119,9 @@ class Session: quitMainloop(5) print '-'*60 + if dlg is None: + return + # read skin data readSkin(dlg, None, dlg.skinName, self.desktop) @@ -177,7 +179,7 @@ def runScreenTest(): session.nav = Navigation() - screensToRun = listActiveWizards() + screensToRun = wizardManager.getWizards() screensToRun.append(Screens.InfoBar.InfoBar) def runNextScreen(session, screensToRun, *result):