mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 09:47:17 +00:00
fix: [Mail] debug signal
This commit is contained in:
parent
c2d47cdd61
commit
c56d0a471e
1 changed files with 2 additions and 2 deletions
|
@ -146,10 +146,10 @@ if __name__ == "__main__":
|
||||||
item_content = Item.get_item_content(item_id)
|
item_content = Item.get_item_content(item_id)
|
||||||
item_date = Item.get_item_date(item_id)
|
item_date = Item.get_item_date(item_id)
|
||||||
|
|
||||||
print(item_id)
|
#print(item_id)
|
||||||
|
|
||||||
# Get all emails address
|
# Get all emails address
|
||||||
signal.alarm(20)
|
signal.alarm(30)
|
||||||
try:
|
try:
|
||||||
all_emails = re.findall(email_regex, item_content)
|
all_emails = re.findall(email_regex, item_content)
|
||||||
except TimeoutException:
|
except TimeoutException:
|
||||||
|
|
Loading…
Reference in a new issue