aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pomu/source/manager.py')
-rw-r--r--pomu/source/manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pomu/source/manager.py b/pomu/source/manager.py
index b2f4de0..61ed9be 100644
--- a/pomu/source/manager.py
+++ b/pomu/source/manager.py
@@ -81,7 +81,7 @@ class PackageDispatcher():
"""
i = 0
for i in range(len(self.handlers)):
- if self.handlers[0][0] > priority:
+ if self.handlers[i][0] > priority:
break
self.handlers.insert(i, (priority, source, handler))