sms_functions: Fixed modem not being set in the send_sms
This commit is contained in:
parent
800cf62d04
commit
ec4236c58f
@ -102,7 +102,7 @@ def send_sms(recipients, smsstring):
|
||||
# Assemble SMS
|
||||
logger.info("Sending SMS: %s", smsstring)
|
||||
|
||||
unlock_and_enable_modem()
|
||||
modem = unlock_and_enable_modem()
|
||||
|
||||
# test sending SMS
|
||||
modem_msg = modem['org.freedesktop.ModemManager1.Modem.Messaging']
|
||||
|
Loading…
Reference in New Issue
Block a user