diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-10-13 04:02:58 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-10-13 05:04:47 -0500 |
commit | 30a3c5a4ab5507e5a3e8554dec33da80fe5696e0 (patch) | |
tree | 126033fcb7621f7aca01cf89a838afbcc613024a /test/get-icon | |
parent | ccf4b34522c83b6f99455fcf73725e88b23ed0e0 (diff) | |
download | ofono-30a3c5a4ab5507e5a3e8554dec33da80fe5696e0.tar.bz2 |
test: Update get-icon to the new API
Diffstat (limited to 'test/get-icon')
-rwxr-xr-x | test/get-icon | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/get-icon b/test/get-icon index eb6f0969..326d5621 100755 --- a/test/get-icon +++ b/test/get-icon @@ -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 |