summaryrefslogtreecommitdiffstats
path: root/module/SpeedManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/SpeedManager.py')
-rw-r--r--module/SpeedManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/SpeedManager.py b/module/SpeedManager.py
index e0ce05586..44d59dad4 100644
--- a/module/SpeedManager.py
+++ b/module/SpeedManager.py
@@ -54,7 +54,7 @@ class SpeedManager(Thread):
def manageSpeed(self):
maxSpeed = self.getMaxSpeed()
- if maxSpeed <= 0 or self.core.compare_time(self.hook.getConfig("start").split(":"),
+ if maxSpeed <= 0 or not self.core.compare_time(self.hook.getConfig("start").split(":"),
self.hook.getConfig("end").split(":")):
for pyfile in [x.active for x in self.core.threadManager.threads if x.active and x.active != "quit"]:
pyfile.plugin.req.speedLimitActive = False