plugin api change: Plugins() and main functions must receive (and possibly ignore...
[enigma2.git] / lib / python / Plugins / SystemPlugins / OldSoftwareUpdate / plugin.py
index 0dc53a6c39f2d7ccc0d811c05ff6546c9866ded1..72279c1a11ce11fe2d63eeac1b4752c115df7815 100644 (file)
@@ -166,12 +166,12 @@ class Ipkg(Screen):
                else:
                        self.close()
 
                else:
                        self.close()
 
-def UpgradeMain(session):
+def UpgradeMain(session, **kwargs):
        session.open(Upgrade)
 
        session.open(Upgrade)
 
-def IpkgMain(session):
+def IpkgMain(session, **kwargs):
        session.open(Ipkg)
 
        session.open(Ipkg)
 
-def Plugins():
+def Plugins(**kwargs):
        return [PluginDescriptor(name="Old Softwareupdate", description="Updates your receiver's software", icon="update.png", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=UpgradeMain),
                        PluginDescriptor(name="IPKG", description="IPKG frontend", icon="update.png", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=IpkgMain)]
        return [PluginDescriptor(name="Old Softwareupdate", description="Updates your receiver's software", icon="update.png", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=UpgradeMain),
                        PluginDescriptor(name="IPKG", description="IPKG frontend", icon="update.png", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=IpkgMain)]