fix: [Mails] typo

This commit is contained in:
Terrtia 2020-05-04 14:10:42 +02:00
parent 855a246bbb
commit 3f5fc85536
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -89,7 +89,7 @@ if __name__ == "__main__":
# max execution time on regex # max execution time on regex
signal.alarm(max_execution_time) signal.alarm(max_execution_time)
try: try:
l_mails = re.findall(email_regex, Item.get_item_content()) l_mails = re.findall(email_regex, Item.get_item_content(item_id))
except TimeoutException: except TimeoutException:
p.incr_module_timeout_statistic() # add encoder type p.incr_module_timeout_statistic() # add encoder type
err_mess = "Mail: processing timeout: {}".format(item_id) err_mess = "Mail: processing timeout: {}".format(item_id)