can use message queue
This commit is contained in:
+1
-1
@@ -119,7 +119,7 @@ class Sender:
|
|||||||
def on_message(ch, method, properties, body):
|
def on_message(ch, method, properties, body):
|
||||||
print(f" [x] Received {body}")
|
print(f" [x] Received {body}")
|
||||||
sender = Sender(body.decode("UTF-8"))
|
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
|
# remove already booked contacts
|
||||||
sub_contact_list = filter_contacts(contact_list)
|
sub_contact_list = filter_contacts(contact_list)
|
||||||
random.shuffle(sub_contact_list)
|
random.shuffle(sub_contact_list)
|
||||||
|
|||||||
Reference in New Issue
Block a user