From 901f596d0b7cad94df04c203236c367892ce7ffe Mon Sep 17 00:00:00 2001 From: Pavel Valach Date: Tue, 2 Feb 2021 11:47:24 +0100 Subject: [PATCH] sms_functions: debug the modem status during unlock --- sms_functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sms_functions.py b/sms_functions.py index 56af08b..26ea629 100644 --- a/sms_functions.py +++ b/sms_functions.py @@ -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: