aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Plugins/Extensions/IpkgInstaller/plugin.py')
-rw-r--r--lib/python/Plugins/Extensions/IpkgInstaller/plugin.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py b/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
index f6dfc965..d9a3d490 100644
--- a/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
+++ b/lib/python/Plugins/Extensions/IpkgInstaller/plugin.py
@@ -49,7 +49,7 @@ class IpkgInstaller(Screen):
def filescan_open(list, session, **kwargs):
session.open(IpkgInstaller, list) # list
-def filescan():
+def filescan(**kwargs):
# we expect not to be called if the MediaScanner plugin is not available,
# thus we don't catch an ImportError exception here
from Plugins.Extensions.MediaScanner.plugin import Scanner, ScanPath
@@ -62,8 +62,7 @@ def filescan():
],
name = "Ipkg",
description = "Install software updates...",
- openfnc = filescan_open,
- )
-
+ openfnc = filescan_open, )
+
def Plugins(**kwargs):
- return [ PluginDescriptor(name="Ipkg", where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan) ] \ No newline at end of file
+ return [ PluginDescriptor(name="Ipkg", where = PluginDescriptor.WHERE_FILESCAN, fnc = filescan) ]