add sleep before click on the valid btn

This commit is contained in:
2022-04-07 14:29:34 +02:00
parent 3647a2f811
commit 2582c7ba1e
3 changed files with 9 additions and 8 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ from pojo.serial_modem import SerialModem
from utils.excel_reader import ExcelHelper
from utils.operator import check_operator, Operator
OTP_TIMEOUT = 180
OTP_TIMEOUT = 240
is_finished = False
commandor = CommandorPage()
thread_event = None
@@ -173,7 +173,7 @@ def on_ready_for_otp(e: Event, commandor: CommandorPage):
def start_book():
start_slot_number = 1
end_slot_number = 1
end_slot_number = 21
slot_list = list(range(start_slot_number, end_slot_number + 1))
random.shuffle(slot_list)
for i in slot_list: