[tor-commits] [gettor/master] Fix too many requests check
hiro at torproject.org
hiro at torproject.org
Wed Oct 16 11:29:11 UTC 2019
commit a215b2067fd2c7ab8cda3364bc25d09ff42c3a5d
Author: hiro <hiro at torproject.org>
Date: Wed Oct 16 13:29:06 2019 +0200
Fix too many requests check
---
gettor/parse/email.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gettor/parse/email.py b/gettor/parse/email.py
index aa574a8..72d992d 100644
--- a/gettor/parse/email.py
+++ b/gettor/parse/email.py
@@ -156,7 +156,7 @@ class EmailParser(object):
num_requests = limit
if hid.hexdigest() == self.settings.get('test_hid'):
- num_requests = 0
+ return 0
else:
num_requests = yield conn.get_num_requests(
id=hid.hexdigest(), service=request_service
More information about the tor-commits
mailing list