Update ticket_transfer.py
Commented out the closing portion of the script for now
This commit is contained in:
parent
2516d88d29
commit
af92315719
@ -293,6 +293,7 @@ for ticket in ticketArray:
|
|||||||
stop_spinner(spinner_thread)
|
stop_spinner(spinner_thread)
|
||||||
clear(1)
|
clear(1)
|
||||||
print(f'Transferring tickets to destination account...{GREEN}COMPLETE{RESET}')
|
print(f'Transferring tickets to destination account...{GREEN}COMPLETE{RESET}')
|
||||||
|
/*
|
||||||
spinner_thread = start_spinner('Closing transferred tickets on source account...')
|
spinner_thread = start_spinner('Closing transferred tickets on source account...')
|
||||||
for ticket in ticketArray:
|
for ticket in ticketArray:
|
||||||
noteBody = f'''
|
noteBody = f'''
|
||||||
@ -303,6 +304,7 @@ for ticket in ticketArray:
|
|||||||
makeCall(sourceDom + f'/api/v2/tickets/{ticket["id"]}', 'put', sourceKey, {'status': 5})
|
makeCall(sourceDom + f'/api/v2/tickets/{ticket["id"]}', 'put', sourceKey, {'status': 5})
|
||||||
stop_spinner(spinner_thread)
|
stop_spinner(spinner_thread)
|
||||||
print(f'Closing transferred tickets on source account...{GREEN}COMPLETE{RESET}')
|
print(f'Closing transferred tickets on source account...{GREEN}COMPLETE{RESET}')
|
||||||
|
*/
|
||||||
print(f'{GREEN}*TICKET TRANSFER COMPLETED SUCCESSFULLY*{RESET}')
|
print(f'{GREEN}*TICKET TRANSFER COMPLETED SUCCESSFULLY*{RESET}')
|
||||||
for i in range(5, 0, -1):
|
for i in range(5, 0, -1):
|
||||||
print(f'Exiting in {i} seconds...')
|
print(f'Exiting in {i} seconds...')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user