plugin api change: Plugins() and main functions must receive (and possibly ignore...
[enigma2.git] / lib / python / Plugins / Extensions / WebInterface / plugin.py
index f0be4e4..0f7e2bb 100644 (file)
@@ -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)