git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
9259d67
)
allow binary only python plugins
author
Felix Domke
<tmbinc@elitedvb.net>
Mon, 27 Feb 2006 19:48:29 +0000
(19:48 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Mon, 27 Feb 2006 19:48:29 +0000
(19:48 +0000)
lib/python/Components/PluginComponent.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/PluginComponent.py
b/lib/python/Components/PluginComponent.py
index e5ceb90d5b5a37ca272b959a417d59177d970d24..145f3d90a7b3a8ee24eeba097be50669894cbf25 100644
(file)
--- 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):
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.py
c") or fileExists(path + "plugin.py
"):
plugin = my_import('.'.join(["Plugins", c, x, "plugin"]))
if not plugin.__dict__.has_key("Plugins"):
plugin = my_import('.'.join(["Plugins", c, x, "plugin"]))
if not plugin.__dict__.has_key("Plugins"):