X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c8c839608b98cc3b37e90d049b66e646f8e46cd9..703e28ce14566d6093d98feca0c96a0468936747:/lib/python/Components/PluginComponent.py?ds=sidebyside diff --git a/lib/python/Components/PluginComponent.py b/lib/python/Components/PluginComponent.py index e5ceb90d..145f3d90 100644 --- a/lib/python/Components/PluginComponent.py +++ b/lib/python/Components/PluginComponent.py @@ -49,7 +49,7 @@ class PluginComponent: for x in os.listdir(directory_category): path = directory_category + "/" + x + "/" if os.path.isdir(path): - if fileExists(path + "plugin.py"): + if fileExists(path + "plugin.pyc") or fileExists(path + "plugin.py"): plugin = my_import('.'.join(["Plugins", c, x, "plugin"])) if not plugin.__dict__.has_key("Plugins"):