no need to use executor

This commit is contained in:
2022-12-09 11:03:05 +01:00
parent 1bd8435163
commit 26af1ccbd6
+1 -1
View File
@@ -171,7 +171,7 @@ def need_to_check_email(mail: str, successful_items) -> bool:
def read_mails(): def read_mails():
# check time before start checking emails # 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 # get email address
mail_list = MONGO_STORE_MANAGER.get_destination_emails() mail_list = MONGO_STORE_MANAGER.get_destination_emails()
# mail_address1 = MailAddress(mail="appointment2022@aol.com", password="gyilpmvyyvlcaviq") # mail_address1 = MailAddress(mail="appointment2022@aol.com", password="gyilpmvyyvlcaviq")