aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/WebInterface
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-03-05 21:43:54 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-03-05 21:43:54 +0000
commitaa4989974a32ab2437d51fb6352b3eb54cecd83d (patch)
tree02985c92f7eefd795dd96cfde0ee4f5262a18a50 /lib/python/Plugins/Extensions/WebInterface
parent313449731e21f1360ce920e7daf24ddd512706fc (diff)
downloadenigma2-aa4989974a32ab2437d51fb6352b3eb54cecd83d.tar.gz
enigma2-aa4989974a32ab2437d51fb6352b3eb54cecd83d.zip
plugin api change: Plugins() and main functions must receive (and possibly ignore) keyword arguments
Diffstat (limited to 'lib/python/Plugins/Extensions/WebInterface')
-rw-r--r--lib/python/Plugins/Extensions/WebInterface/plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/WebInterface/plugin.py b/lib/python/Plugins/Extensions/WebInterface/plugin.py
index f0be4e45..0f7e2bbd 100644
--- a/lib/python/Plugins/Extensions/WebInterface/plugin.py
+++ b/lib/python/Plugins/Extensions/WebInterface/plugin.py
@@ -8,12 +8,12 @@ def startWebserver():
reactor.listenTCP(80, http.HTTPFactory(site))
-def autostart(reason):
+def autostart(reason, **kwargs):
if reason == 0:
try:
startWebserver()
except ImportError:
print "twisted not available, not starting web services"
-def Plugins():
+def Plugins(**kwargs):
return PluginDescriptor(where = PluginDescriptor.WHERE_AUTOSTART, fnc = autostart)