correct email problemes in contact.xlsx file
This commit is contained in:
@@ -121,19 +121,10 @@ def handle_sms(sms):
|
||||
is_finished = True
|
||||
global current_gsm_modem
|
||||
if current_gsm_modem:
|
||||
logger.info("will close used modem")
|
||||
current_gsm_modem.close()
|
||||
|
||||
|
||||
def select_sim_storage(ser) -> bool:
|
||||
# use SIM Card storage
|
||||
cmd_sm = "AT+CPBS=\"SM\"\r"
|
||||
result = send_command(cmd_sm, ser)
|
||||
if "ERROR" in str(result):
|
||||
return False
|
||||
else:
|
||||
return True
|
||||
|
||||
|
||||
def init_modems() -> list:
|
||||
modems = []
|
||||
for port in get_devices_ports():
|
||||
@@ -176,7 +167,7 @@ def read_all_the_phone_number():
|
||||
|
||||
|
||||
def start_book():
|
||||
slot_number = 7
|
||||
slot_number = 1
|
||||
slot_sum = 29
|
||||
for i in range(slot_number, slot_sum + 1):
|
||||
card_pool.reset()
|
||||
|
||||
Reference in New Issue
Block a user