[tor-commits] [gettor/master] Fix error in check requests limit

hiro at torproject.org hiro at torproject.org
Wed Oct 16 10:32:54 UTC 2019


commit e486ac7a326cab275465c9ac45109b37194aff82
Author: hiro <hiro at torproject.org>
Date:   Wed Oct 16 12:32:48 2019 +0200

    Fix error in check requests limit
---
 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 785c983..06f92c2 100644
--- a/gettor/parse/email.py
+++ b/gettor/parse/email.py
@@ -240,7 +240,7 @@ class EmailParser(object):
                 "Found request for {}.".format(request['command']),
                 system="email parser"
             )
-            if check_num_requests(request['id'], request['service'], email_requests_limit):
+            if self.check_num_requests(request['id'], request['service'], email_requests_limit):
                 conn.new_request(
                     id=request['id'],
                     command=request['command'],



More information about the tor-commits mailing list