git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SoftwareManager/BackupRestore.py: save configuration to settingsfile before doing...
[enigma2.git]
/
lib
/
python
/
Components
/
PluginComponent.py
diff --git
a/lib/python/Components/PluginComponent.py
b/lib/python/Components/PluginComponent.py
old mode 100644
(file)
new mode 100755
(executable)
index
6e357cd
..
c91d6ad
--- a/
lib/python/Components/PluginComponent.py
+++ b/
lib/python/Components/PluginComponent.py
@@
-96,9
+96,9
@@
class PluginComponent:
res = [ ]
for x in where:
res = [ ]
for x in where:
- for p in self.plugins.get(x, [ ]):
- res.append(p)
- return res
+ res.extend(self.plugins.get(x, [ ]))
+
+ return
res
def getPluginsForMenu(self, menuid):
res = [ ]
def getPluginsForMenu(self, menuid):
res = [ ]
@@
-121,7
+121,7
@@
class PluginComponent:
wakeup = -1
for p in self.pluginList:
current = p.getWakeupTime()
wakeup = -1
for p in self.pluginList:
current = p.getWakeupTime()
- if current > -1 and
wakeup < current
:
+ if current > -1 and
(wakeup > current or wakeup == -1)
:
wakeup = current
return int(wakeup)
wakeup = current
return int(wakeup)