aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/PluginComponent.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-02-27 19:48:29 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-02-27 19:48:29 +0000
commitccf6be8713d5ce64ef167ec9516899cd560e0c44 (patch)
tree0f98aee8d061b34a7aa63c185b649ff51573077c /lib/python/Components/PluginComponent.py
parent9259d671be30253630f66787520fded0e15e8c0e (diff)
downloadenigma2-ccf6be8713d5ce64ef167ec9516899cd560e0c44.tar.gz
enigma2-ccf6be8713d5ce64ef167ec9516899cd560e0c44.zip
allow binary only python plugins
Diffstat (limited to 'lib/python/Components/PluginComponent.py')
-rw-r--r--lib/python/Components/PluginComponent.py2
1 files changed, 1 insertions, 1 deletions
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"):