From 30a3c5a4ab5507e5a3e8554dec33da80fe5696e0 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 13 Oct 2010 04:02:58 -0500 Subject: [PATCH] test: Update get-icon to the new API --- test/get-icon | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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