diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-10-17 00:00:02 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-10-17 00:00:02 +0200 |
commit | ca3a4cabeca96081345dd13264529f4dd4ab6bce (patch) | |
tree | 7a54b2a914d52a015db0eec6f748eb4de37fee81 /test/set-use-sms-reports | |
parent | c75e904f6ea5543aa61462c66c87d8bccd546ddd (diff) | |
download | ofono-ca3a4cabeca96081345dd13264529f4dd4ab6bce.tar.bz2 |
test: Fix script for enabling delivery reports
Diffstat (limited to 'test/set-use-sms-reports')
-rwxr-xr-x | test/set-use-sms-reports | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/set-use-sms-reports b/test/set-use-sms-reports index a9e02d72..1188197e 100755 --- a/test/set-use-sms-reports +++ b/test/set-use-sms-reports @@ -11,11 +11,11 @@ if len(sys.argv) == 3: elif len(sys.argv) == 2: manager = dbus.Interface(bus.get_object('org.ofono', '/'), 'org.ofono.Manager') - modems = manager.getmodems() + modems = manager.GetModems() path = modems[0][0] enabled = sys.argv[1] else: - print "%s [PATH] topics" % (sys.argv[0]) + print "%s [PATH] on/off" % (sys.argv[0]) sys.exit(1) print "Setting delivery report use for modem %s..." % path |