Use hex for better reading

This commit is contained in:
Bo Maryniuk 2017-11-15 14:31:10 +01:00
parent a0d96e50b2
commit 84228a3546

View File

@ -317,7 +317,7 @@ class SSDPDiscoveryClient(SSDPBase):
self.log.info("Looking for a server discovery")
try:
self._query()
data, addr = self._socket.recvfrom(1024) # wait for a packet
data, addr = self._socket.recvfrom(0x400) # wait for a packet
except socket.timeout:
msg = 'No master has been discovered.'
self.log.info(msg)