Commit 9efff8c6 authored by Hiro's avatar Hiro 🏄
Browse files

Fix error and call backs in email message responder

parent 3a4cfabb
...@@ -240,7 +240,7 @@ class EmailParser(object): ...@@ -240,7 +240,7 @@ class EmailParser(object):
"Found request for {}.".format(request['command']), "Found request for {}.".format(request['command']),
system="email parser" system="email parser"
) )
check = yield self.too_many_requests(request['id'], hid, request['service'], email_requests_limit): check = yield self.too_many_requests(request['id'], hid, request['service'], email_requests_limit)
if check: if check:
log.msg( log.msg(
"Discarded. Too many requests from {}.".format( "Discarded. Too many requests from {}.".format(
......
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