test: fix bug in test-ss-control-cs
authorGustavo F. Padovan <padovan@profusion.mobi>
Mon, 6 Dec 2010 20:12:29 +0000 (18:12 -0200)
committerDenis Kenzior <denkenz@gmail.com>
Fri, 10 Dec 2010 18:56:23 +0000 (12:56 -0600)
test/test-ss-control-cs

index bf59789..e04a4a0 100755 (executable)
@@ -29,7 +29,7 @@ if __name__ == "__main__":
 
         cs.connect_to_signal("PropertyChanged", property_changed)
 
-       ss = dbus.Interface(bus.get_object('org.ofono', modems[0]),
+       ss = dbus.Interface(bus.get_object('org.ofono', modems[0][0]),
                                                        'org.ofono.SupplementaryServices')
 
        print_properties(cs)