From aa4989974a32ab2437d51fb6352b3eb54cecd83d Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sun, 5 Mar 2006 21:43:54 +0000 Subject: plugin api change: Plugins() and main functions must receive (and possibly ignore) keyword arguments --- lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/plugin.py') diff --git a/lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/plugin.py b/lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/plugin.py index fea38424..94c81c05 100644 --- a/lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/plugin.py +++ b/lib/python/Plugins/SystemPlugins/FrontprocessorUpgrade/plugin.py @@ -44,7 +44,7 @@ class FPUpgrade(Screen): def ok(self): self.close(4) -def Plugins(): +def Plugins(**kwargs): from Tools.DreamboxHardware import getFPVersion version = getFPVersion() newversion = getUpgradeVersion() or 0 -- cgit v1.2.3