[tor-commits] [oonib/master] Select the correct helper

art at torproject.org art at torproject.org
Wed Sep 11 09:13:52 UTC 2013


commit 83155689f1968c449cba4983fd6e1f556a05b18a
Author: aagbsn <aagbsn at extc.org>
Date:   Tue Sep 10 13:50:46 2013 +0200

    Select the correct helper
---
 oonib/bouncer/handlers.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oonib/bouncer/handlers.py b/oonib/bouncer/handlers.py
index 5033fad..d33dcfe 100644
--- a/oonib/bouncer/handlers.py
+++ b/oonib/bouncer/handlers.py
@@ -95,7 +95,7 @@ class Bouncer(object):
                 choices = self.getHelperAddresses(helper_name)
                 for item in response.values():
                     if item['collector'] in choices.keys():
-                        choice = item
+                        choice = choices[item['collector']]
                         break
                 # Or default to a random selection
                 else:





More information about the tor-commits mailing list