s/host/stype
This commit is contained in:
parent
6f13f8ddf6
commit
03b47921ae
@ -95,7 +95,7 @@ class LocalGroup(Group):
|
|||||||
|
|
||||||
def _on_service_resolved(self, interface, protocol, name, stype, domain,
|
def _on_service_resolved(self, interface, protocol, name, stype, domain,
|
||||||
host, aprotocol, address, port, txt, flags):
|
host, aprotocol, address, port, txt, flags):
|
||||||
service = Service(name, host, address, port)
|
service = Service(name, stype, address, port)
|
||||||
if stype == PRESENCE_SERVICE_TYPE:
|
if stype == PRESENCE_SERVICE_TYPE:
|
||||||
self._add_buddy(Buddy(service, name))
|
self._add_buddy(Buddy(service, name))
|
||||||
elif stype.startswith("_olpc"):
|
elif stype.startswith("_olpc"):
|
||||||
|
Loading…
Reference in New Issue
Block a user