Commit e486ac7a authored by Hiro's avatar Hiro 🏄
Browse files

Fix error in check requests limit

parent 9a30a214
......@@ -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'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment