[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [oonib/master] Select the correct helper
commit 83155689f1968c449cba4983fd6e1f556a05b18a
Author: aagbsn <aagbsn@xxxxxxxx>
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:
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits