diff --git a/sms_functions.py b/sms_functions.py index 26ea629..bf582b5 100644 --- a/sms_functions.py +++ b/sms_functions.py @@ -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']