aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-09-06 12:47:59 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-09-06 12:47:59 +0000
commit4503ea2ae9eb021a1a2a665a161357305d4095f9 (patch)
tree7c79f6f3521d311d3e183cb424385947459e0870 /lib/python/Plugins/Extensions
parent51c90bed6c2721d067e9b577e5c42bd8094a401d (diff)
downloadenigma2-4503ea2ae9eb021a1a2a665a161357305d4095f9.tar.gz
enigma2-4503ea2ae9eb021a1a2a665a161357305d4095f9.zip
link correct url for web interface sample
Diffstat (limited to 'lib/python/Plugins/Extensions')
-rw-r--r--lib/python/Plugins/Extensions/WebInterface/plugin.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Plugins/Extensions/WebInterface/plugin.py b/lib/python/Plugins/Extensions/WebInterface/plugin.py
index cc9a546b..71c4afcc 100644
--- a/lib/python/Plugins/Extensions/WebInterface/plugin.py
+++ b/lib/python/Plugins/Extensions/WebInterface/plugin.py
@@ -34,7 +34,7 @@ def startWebserver():
def render(self, req):
return http.Response(responsecode.OK, {'Content-type': http_headers.MimeType('text', 'html')},
- stream='Hello! you want probably go to <a href="/test">the test</a> instead.')
+ stream='Hello! you want probably go to <a href="/web">the test</a> instead.')
child_web = ScreenPage("/") # "/web"
child_hdd = static.File("/hdd")
@@ -51,10 +51,10 @@ def autostart(reason, **kwargs):
return
if reason == 0:
- try:
+ #try:
startWebserver()
- except ImportError:
- print "twisted not available, not starting web services"
+ #except ImportError:
+ # print "twisted not available, not starting web services"
def Plugins(**kwargs):
return PluginDescriptor(where = [PluginDescriptor.WHERE_SESSIONSTART, PluginDescriptor.WHERE_AUTOSTART], fnc = autostart)