summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-11-25 15:02:23 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-11-25 15:02:23 +0100
commit5e2953a21ed75f99ee614520848f740b1185a44d (patch)
treee3fdb0c52293c4e13b05f0c2f0499fbcd7012700 /test
parent200959af466629ab1d4e655bf9b01500155afea5 (diff)
downloadofono-5e2953a21ed75f99ee614520848f740b1185a44d.tar.bz2
test: Fix modem path handling for icon testing
Diffstat (limited to 'test')
-rwxr-xr-xtest/get-icon4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/get-icon b/test/get-icon
index 326d5621..ea46cd69 100755
--- a/test/get-icon
+++ b/test/get-icon
@@ -17,8 +17,8 @@ manager = dbus.Interface(bus.get_object("org.ofono", "/"),
modems = manager.GetModems()
for path, properties in modems:
- if "org.ofono.SimManager" not in properties["Interfaces"]:
- continue
+ if "org.ofono.SimManager" in properties["Interfaces"]:
+ break
sim = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.SimManager')