aboutsummaryrefslogtreecommitdiff
path: root/mytest.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-02-21 22:07:56 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-02-21 22:07:56 +0000
commit71926516a90b5252f39271334760de686fb8c72f (patch)
tree8b6233b6ff21ae6bbc66b2bffdb3e144b63bb697 /mytest.py
parent0d0e876391a62eaf9960d4dee660f4106e513611 (diff)
downloadenigma2-71926516a90b5252f39271334760de686fb8c72f.tar.gz
enigma2-71926516a90b5252f39271334760de686fb8c72f.zip
add WHERE_WIZARD plugins
Diffstat (limited to 'mytest.py')
-rw-r--r--mytest.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/mytest.py b/mytest.py
index 8ae28ab8..9d2998ba 100644
--- a/mytest.py
+++ b/mytest.py
@@ -29,7 +29,7 @@ try:
def runReactor():
reactor.run()
-except:
+except ImportError:
print "twisted not available"
def runReactor():
runMainloop()
@@ -42,6 +42,7 @@ from Screens.Wizard import wizardManager
from Screens.StartWizard import *
from Screens.TutorialWizard import *
from Tools.BoundFunction import boundFunction
+from Plugins.Plugin import PluginDescriptor
had = dict()
@@ -271,11 +272,13 @@ def runScreenTest():
session.nav = Navigation()
screensToRun = wizardManager.getWizards()
+ for p in plugins.getPlugins(PluginDescriptor.WHERE_WIZARD):
+ screensToRun.append(p.__call__)
screensToRun.append(Screens.InfoBar.InfoBar)
def runNextScreen(session, screensToRun, *result):
if result:
- quitMainloop(result)
+ quitMainloop(*result)
screen = screensToRun[0]