plugin api change: Plugins() and main functions must receive (and possibly ignore...
[enigma2.git] / lib / python / Plugins / SystemPlugins / SoftwareUpdate / plugin.py
index 00f8e18527281e8ea5e74e5dd6751961d36359c1..af4d8982c73b42008d35b644072caf3d983ce123 100644 (file)
@@ -219,8 +219,8 @@ class Ipkg(Screen):
                else:
                        self.close()
 
                else:
                        self.close()
 
-def UpgradeMain(session):
+def UpgradeMain(session, **kwargs):
        session.open(UpdatePluginMenu)
 
        session.open(UpdatePluginMenu)
 
-def Plugins():
+def Plugins(**kwargs):
        return PluginDescriptor(name="Softwareupdate", description="Updates your receiver's software", icon="update.png", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=UpgradeMain)
        return PluginDescriptor(name="Softwareupdate", description="Updates your receiver's software", icon="update.png", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=UpgradeMain)