X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e3626cbb8e9d0649f9180899947cd928a070a55d..79da420aa414522f8b5477053f0b46e6311f1cc1:/lib/python/Screens/Wizard.py?ds=inline diff --git a/lib/python/Screens/Wizard.py b/lib/python/Screens/Wizard.py index 855df6ad..dfb28e24 100644 --- a/lib/python/Screens/Wizard.py +++ b/lib/python/Screens/Wizard.py @@ -45,7 +45,7 @@ class WizardSummary(Screen): def setText(self, text): self["text"].setText(text) -class Wizard(Screen, HelpableScreen): +class Wizard(Screen): def createSummary(self): print "WizardCreateSummary" return WizardSummary @@ -105,7 +105,10 @@ class Wizard(Screen, HelpableScreen): type = str(attrs.get('type')) self.wizard[self.lastStep]["config"]["type"] = type if type == "ConfigList" or type == "standalone": - exec "from Screens." + str(attrs.get('module')) + " import *" + try: + exec "from Screens." + str(attrs.get('module')) + " import *" + except: + exec "from " + str(attrs.get('module')) + " import *" self.wizard[self.lastStep]["config"]["screen"] = eval(str(attrs.get('screen'))) if (attrs.has_key('args')): @@ -147,7 +150,6 @@ class Wizard(Screen, HelpableScreen): def __init__(self, session, showSteps = True, showStepSlider = True, showList = True, showConfig = True): Screen.__init__(self, session) - HelpableScreen.__init__(self) self.stepHistory = []