fix *required* kwargs. plugins not having **kwargs will probably not run with newer...
[enigma2.git] / lib / python / Plugins / Extensions / PicturePlayer / plugin.py
index c54669bb5d60dafffead06ac3db1c708110c28ef..4462df139b9fc7008cd8b1c5844536a837540540 100644 (file)
@@ -533,7 +533,7 @@ def main(session, **kwargs):
 def filescan_open(list, session, **kwargs):
        session.open(picmain) # 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