retore the contact list

This commit is contained in:
2022-03-01 18:13:14 +01:00
parent 2832922566
commit e8ba44bfb3
3 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ def create_modem_for_port(port: str) -> SerialModem:
# Uncomment the following line to see what the modem is doing:
init_logger()
modem = GsmModem(port)
modem.connect('0000')
modem.connect()
number = modem.ownNumber
logger.info("The SIM card phone number is:")
logger.info(number)
@@ -178,7 +178,7 @@ def read_all_the_phone_number():
def start_book():
slot_number = 1
slot_sum = 32
slot_sum = 2
for i in range(slot_number, slot_sum + 1):
card_pool.reset()
print("will switch to " + str(i))