From 6428fdc9a421086233ba166badbadc628c8bb980 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sat, 3 Mar 2007 03:12:27 -0500 Subject: [PATCH] Give dbus-python a hint to icon return type --- services/presence2/buddy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/presence2/buddy.py b/services/presence2/buddy.py index a49e1785..97e969ca 100644 --- a/services/presence2/buddy.py +++ b/services/presence2/buddy.py @@ -141,7 +141,7 @@ class Buddy(DBusGObject): def GetIcon(self): if not self.props.icon: return "" - return self.props.icon + return dbus.ByteArray(self.props.icon) @dbus.service.method(_BUDDY_INTERFACE, in_signature="", out_signature="ao")