Skip to content
Snippets Groups Projects
Commit 0568a4b3 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

typo

parent 1a2f6018
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ class ZeroconfListener(IdleObject):
def bind(self):
flags = socket.AI_PASSIVE
if hasattr(socket, 'AI_ADDRCONFIG'):
flags |= socket.AI_ADDRCONFIG)
flags |= socket.AI_ADDRCONFIG
ai = socket.getaddrinfo(None, self.port, socket.AF_UNSPEC,
socket.SOCK_STREAM, 0, flags)[0]
self._serv = socket.socket(ai[0], ai[1])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment