[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit e486ac7a326cab275465c9ac45109b37194aff82
Author: hiro <hiro@xxxxxxxxxxxxxx>
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'],

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits