This commit is contained in:
Kovid Goyal 2015-06-03 22:40:50 +05:30
parent e522335424
commit ae0a450344

View File

@ -1382,7 +1382,7 @@ class Zeroconf(object):
changed if needed to make it unique on the network."""
self.checkService(info)
self.services[info.name.lower()] = info
self.servicetypes.set(info.type, self.servicetypes.get(info.type, 0) + 1)
self.servicetypes[info.type] = self.servicetypes.get(info.type, 0) + 1
now = currentTimeMillis()
nextTime = now
i = 0