[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [gettor/master] Fix too many requests check
commit a215b2067fd2c7ab8cda3364bc25d09ff42c3a5d
Author: hiro <hiro@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits