Elektro: Patching Enigma should now work
[enigma2-plugins.git] / elektro / src / PluginComponent.py.patch
1 --- /usr/lib/enigma2/python/Components/PluginComponent.py       2009-03-31 19:32:46.000000000 +0200
2 +++ /usr/lib/enigma2/python/Components/PluginComponent.py       2009-07-20 20:02:32.000000000 +0200
3 @@ -121,7 +121,7 @@
4                 wakeup = -1
5                 for p in self.pluginList:
6                         current = p.getWakeupTime()
7 -                       if current > -1 and wakeup < current:
8 +                       if current > -1 and (wakeup > current or wakeup == -1):
9                                 wakeup = current
10                 return int(wakeup)
11