s/host/stype

This commit is contained in:
Marco Pesenti Gritti 2006-05-11 22:43:23 -04:00
parent 6f13f8ddf6
commit 03b47921ae

View File

@ -95,7 +95,7 @@ class LocalGroup(Group):
def _on_service_resolved(self, interface, protocol, name, stype, domain,
host, aprotocol, address, port, txt, flags):
service = Service(name, host, address, port)
service = Service(name, stype, address, port)
if stype == PRESENCE_SERVICE_TYPE:
self._add_buddy(Buddy(service, name))
elif stype.startswith("_olpc"):