ticketdistribute.py