can use message queue

This commit is contained in:
2024-01-05 16:59:22 +01:00
parent 27411177f9
commit fcc5e571e9
+1 -1
View File
@@ -119,7 +119,7 @@ class Sender:
def on_message(ch, method, properties, body):
print(f" [x] Received {body}")
sender = Sender(body.decode("UTF-8"))
contact_list = read_contacts('/Users/panlei/Desktop/real_name_contacts_231_hotmail.xlsx')
contact_list = read_contacts('/Users/panlei/Desktop/yahoo_aol_valid_26-1.xlsx')
# remove already booked contacts
sub_contact_list = filter_contacts(contact_list)
random.shuffle(sub_contact_list)