diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-02-15 10:25:34 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-02-15 10:25:58 +0100 |
| commit | 01d75322e7f2c56a3fc67db645440a5a71ef3d1e (patch) | |
| tree | ac6ade9ef543ff0f56f7c8630a8ab4fbc436444f /lib/python | |
| parent | 49d3b0f03998616458f86c340b4bbb39f0ab4c4e (diff) | |
| download | enigma2-01d75322e7f2c56a3fc67db645440a5a71ef3d1e.tar.gz enigma2-01d75322e7f2c56a3fc67db645440a5a71ef3d1e.zip | |
lib/python/Components/PluginsComponent.py: even allow .pyo files
Diffstat (limited to 'lib/python')
| -rwxr-xr-x | lib/python/Components/PluginComponent.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/PluginComponent.py b/lib/python/Components/PluginComponent.py index c91d6ad5..5e439fdf 100755 --- a/lib/python/Components/PluginComponent.py +++ b/lib/python/Components/PluginComponent.py @@ -46,7 +46,7 @@ class PluginComponent: for pluginname in os_listdir(directory_category): path = directory_category + "/" + pluginname if os_path.isdir(path): - if fileExists(path + "/plugin.pyc") or fileExists(path + "/plugin.py"): + if fileExists(path + "/plugin.pyc") or fileExists(path + "/plugin.pyo") or fileExists(path + "/plugin.py"): try: plugin = my_import('.'.join(["Plugins", c, pluginname, "plugin"])) |
