summaryrefslogtreecommitdiffstats
path: root/ZeroconfService.py
diff options
context:
space:
mode:
Diffstat (limited to 'ZeroconfService.py')
-rw-r--r--ZeroconfService.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZeroconfService.py b/ZeroconfService.py
index 0b7d54d..0c8a3cf 100644
--- a/ZeroconfService.py
+++ b/ZeroconfService.py
@@ -39,7 +39,7 @@ class ZeroconfService(object):
server = dbus.Interface(bus.get_object(avahi.DBUS_NAME, avahi.DBUS_PATH_SERVER), avahi.DBUS_INTERFACE_SERVER)
g = dbus.Interface(bus.get_object(avahi.DBUS_NAME, server.EntryGroupNew()), avahi.DBUS_INTERFACE_ENTRY_GROUP)
- g.AddService(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, dbus.UInt32(0), self.name, self.stype, self.domain, self.host, dbus.UInt16(self.port), self.text)
+ g.AddService(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, dbus.UInt32(0), self.name, self.stype, self.domain, self.host, dbus.UInt16(self.port), avahi.string_array_to_txt_array(self.text))
g.Commit()
self.group = g