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

Remove logs and fix checks

parent 4515c62f
......@@ -152,13 +152,7 @@ class EmailParser(object):
def too_many_requests(self, hid, num_requests, limit):
test_hid = self.settings.get('test_hid')
"test_hid {}".format(test_hid), system="email parser"
"hid {}".format(hid), system="email parser"
test_hid = self.settings.get("test_hid")
if hid == test_hid:
return False
elif num_requests < limit:
......@@ -251,8 +245,6 @@ class EmailParser(object):
hid, num_requests[0][0], email_requests_limit
log.msg("check: {}".format(check), system="email parser")
if check:
"Discarded. Too many requests from {}.".format(
Supports Markdown
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