sms_functions: debug the modem status during unlock
This commit is contained in:
parent
8c37fe23d0
commit
901f596d0b
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ def unlock_sim(modem):
|
|||
|
||||
# unlock SIM, if not alreadY
|
||||
props = modem.GetStatus()
|
||||
print(props)
|
||||
logger.debug("Modem status: {}".format(props))
|
||||
if props and props['state'] == 2:
|
||||
# check if the modem_pin.txt file exists
|
||||
with open('modem_pin.txt', 'r') as mp:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue