From 5c098e9eadf42ec0e333c5d5c954ee408d9127e4 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 26 Jul 2009 15:21:58 +0200 Subject: [PATCH] PluginComponent: fix setting wakeuptime from plugin --- lib/python/Components/PluginComponent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Components/PluginComponent.py b/lib/python/Components/PluginComponent.py index fff5c47..c91d6ad 100644 --- a/lib/python/Components/PluginComponent.py +++ b/lib/python/Components/PluginComponent.py @@ -121,7 +121,7 @@ class PluginComponent: 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) -- 2.7.4