diff --git a/src/mail/mail_reader.py b/src/mail/mail_reader.py index b77709f..d20b150 100644 --- a/src/mail/mail_reader.py +++ b/src/mail/mail_reader.py @@ -119,8 +119,6 @@ def need_to_valid_url(url: str, successful_items) -> bool: id = parts[5] if len(id) == 6: for item in successful_items: - # if item.url_validated is not None: - # print("id:{}, status:{} ".format(id, str(item.url_validated))) if item.id == id: if item.url_validated is not None: return not item.url_validated @@ -154,7 +152,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(9, 30), time(19, 30)): + if is_time_between(time(7, 30), time(19, 30)): # get email address mail_list = MONGO_STORE_MANAGER.get_destination_emails() # mail_address1 = MailAddress(mail="appointment2022@aol.com", password="gyilpmvyyvlcaviq")