retore the contact list
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user