Merge branch 'master' of bitbucket.org:panleicim/appointment_tool
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import datetime
|
import datetime
|
||||||
|
import random
|
||||||
|
|
||||||
import xlsxwriter
|
import xlsxwriter
|
||||||
|
|
||||||
@@ -66,6 +67,7 @@ def generate_valid_contact_list_for_day():
|
|||||||
|
|
||||||
def generate_all_contact_list():
|
def generate_all_contact_list():
|
||||||
_all_contacts = MONGO_STORE_MANAGER.get_all_contacts_to_book()
|
_all_contacts = MONGO_STORE_MANAGER.get_all_contacts_to_book()
|
||||||
|
random.shuffle(_all_contacts)
|
||||||
write_new_contacts_to_excel(_all_contacts, file_name="all")
|
write_new_contacts_to_excel(_all_contacts, file_name="all")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user