mirror of git://git.sysmocom.de/ofono
test: Fix modem path handling for icon testing
This commit is contained in:
parent
200959af46
commit
5e2953a21e
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue