mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Use hex for better reading
This commit is contained in:
parent
a0d96e50b2
commit
84228a3546
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user