add wait time for page
This commit is contained in:
+4
-4
@@ -13,7 +13,7 @@ from params import MODEM_POOL_PORTS, CARD_POOL_PORT
|
||||
from pojo.serial_modem import SerialModem
|
||||
from utils.excel_reader import ExcelHelper
|
||||
|
||||
OTP_TIMEOUT = 40
|
||||
OTP_TIMEOUT = 60
|
||||
thread_event = None
|
||||
current_gsm_modem = None
|
||||
card_pool = CardPool(CARD_POOL_PORT)
|
||||
@@ -108,9 +108,9 @@ def start_waiting_sms():
|
||||
if len(contact) > 0:
|
||||
modem.phone_number = contact[0].phone
|
||||
modem.contact = contact[0]
|
||||
start_to_handle_sms(modem)
|
||||
# else:
|
||||
# print("not found, skip")
|
||||
start_to_handle_sms(modem)
|
||||
else:
|
||||
print("contact not found, skip")
|
||||
except Exception as error:
|
||||
print(error)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user