From 5e2953a21ed75f99ee614520848f740b1185a44d Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 25 Nov 2012 15:02:23 +0100 Subject: test: Fix modem path handling for icon testing --- test/get-icon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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') -- cgit v1.2.3