test: Update get-icon to the new API

This commit is contained in:
Denis Kenzior 2010-10-13 04:02:58 -05:00
parent ccf4b34522
commit 30a3c5a4ab
1 changed files with 5 additions and 1 deletions

View File

@ -24,4 +24,8 @@ sim = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.SimManager')
icon = sim.GetIcon(dbus.Byte(int(sys.argv[1])))
print icon
xpm = ""
for byte in icon:
xpm += str(byte)
print xpm