summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
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')