sms_functions: Fixed modem not being set in the send_sms
This commit is contained in:
parent
800cf62d04
commit
ec4236c58f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue