mirror of git://git.sysmocom.de/ofono
test: Fix the no-argument case
This commit is contained in:
parent
a2596cb333
commit
7a4834a34a
|
@ -16,6 +16,7 @@ elif len(sys.argv) == 2:
|
||||||
enabled = sys.argv[1]
|
enabled = sys.argv[1]
|
||||||
else:
|
else:
|
||||||
print "%s [PATH] topics" % (sys.argv[0])
|
print "%s [PATH] topics" % (sys.argv[0])
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
print "Setting delivery report use for modem %s..." % path
|
print "Setting delivery report use for modem %s..." % path
|
||||||
sms = dbus.Interface(bus.get_object('org.ofono', path),
|
sms = dbus.Interface(bus.get_object('org.ofono', path),
|
||||||
|
|
Loading…
Reference in New Issue