aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/mm-send-sms.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mm-send-sms.py b/test/mm-send-sms.py
index 12518131..5977c20a 100755
--- a/test/mm-send-sms.py
+++ b/test/mm-send-sms.py
@@ -82,7 +82,8 @@ if validity:
sms_iface = dbus.Interface(proxy, dbus_interface='org.freedesktop.ModemManager.Modem.Gsm.SMS')
try:
- sms_iface.Send(msg_dict)
+ indexes = sms_iface.Send(msg_dict)
+ print "Message index: %d" % indexes[0]
except Exception, e:
print "Sending message failed: %s" % e