Give dbus-python a hint to icon return type
This commit is contained in:
parent
08c791849f
commit
6428fdc9a4
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user