aboutsummaryrefslogtreecommitdiff
path: root/test/mm-send-sms.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/mm-send-sms.py')
-rwxr-xr-xtest/mm-send-sms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mm-send-sms.py b/test/mm-send-sms.py
index 06be591d..4be08c4d 100755
--- a/test/mm-send-sms.py
+++ b/test/mm-send-sms.py
@@ -33,7 +33,7 @@ msg_dict = dbus.Dictionary({ dbus.String('number') : dbus.String(number),
sms_iface = dbus.Interface(proxy, dbus_interface='org.freedesktop.ModemManager.Modem.Gsm.SMS')
try:
sms_iface.Send(msg_dict)
-except e:
+except:
print "Sending message failed"
finally:
modem.Enable(False)