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