From 26af1ccbd6510394e210bf5b37fc93551818d6cb Mon Sep 17 00:00:00 2001 From: PAN Lei Date: Fri, 9 Dec 2022 11:03:05 +0100 Subject: [PATCH] no need to use executor --- src/mail/mail_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mail/mail_reader.py b/src/mail/mail_reader.py index bdb9cfb..ab6e1a7 100644 --- a/src/mail/mail_reader.py +++ b/src/mail/mail_reader.py @@ -171,7 +171,7 @@ def need_to_check_email(mail: str, successful_items) -> bool: def read_mails(): # check time before start checking emails - if is_time_between(time(10, 30), time(19, 30)): + if is_time_between(time(9, 30), time(19, 30)): # get email address mail_list = MONGO_STORE_MANAGER.get_destination_emails() # mail_address1 = MailAddress(mail="appointment2022@aol.com", password="gyilpmvyyvlcaviq")