X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c2bbed774d6e5c51b4af23a60a95aca74aa5d4e9..a1b97a6ac06f120114cb12c4e4667230edb8d7df:/mytest.py diff --git a/mytest.py b/mytest.py old mode 100644 new mode 100755 index 014f94c9..423031fb --- a/mytest.py +++ b/mytest.py @@ -76,7 +76,6 @@ from Components.PluginComponent import plugins profile("LOAD:Wizard") from Screens.Wizard import wizardManager from Screens.DefaultWizard import * -from Screens.ImageWizard import * from Screens.StartWizard import * from Screens.TutorialWizard import * import Screens.Rc @@ -277,7 +276,7 @@ class Session: def open(self, screen, *arguments, **kwargs): if len(self.dialog_stack) and not self.in_exec: - raise "modal open are allowed only from a screen which is modal!" + raise RuntimeError("modal open are allowed only from a screen which is modal!") # ...unless it's the very first screen. self.pushCurrent()