check sms time before extracting otp
This commit is contained in:
@@ -35,8 +35,6 @@ class ModemPool:
|
||||
self._send_command("AT+CFUN=1,1\r", ser)
|
||||
# wait for 20 second, so that the modem can init all the sims
|
||||
time.sleep(20)
|
||||
for ser in self._serial_list:
|
||||
ser.close()
|
||||
|
||||
def _generate_error_msg(self, slot_position, index, error: SIMError):
|
||||
msg = "slot({}) SIM({}), error:{}".format(slot_position, index + 1,
|
||||
|
||||
Reference in New Issue
Block a user