X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/31fb73a15d12559b15f5506622c3902476d3ea0f..aa4989974a32ab2437d51fb6352b3eb54cecd83d:/lib/python/Plugins/Extensions/WebInterface/plugin.py 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)