plugin api change: Plugins() and main functions must receive (and possibly ignore...
[enigma2.git] / lib / python / Plugins / Extensions / FileManager / plugin.py
index 05a19fc..a17e631 100644 (file)
@@ -62,8 +62,8 @@ class FileManager(Screen):
                print "pressed", number
                self["text"].number(number)
 
-def main(session):
+def main(session, **kwargs):
        session.open(FileManager)
 
-def Plugins():
+def Plugins(**kwargs):
        return PluginDescriptor(name="File-Manager", description="Let's you view/edit files in your Dreambox", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main)