diff --git a/src/common/zeroconf/client_zeroconf.py b/src/common/zeroconf/client_zeroconf.py index a5c0b9556..d3871147a 100644 --- a/src/common/zeroconf/client_zeroconf.py +++ b/src/common/zeroconf/client_zeroconf.py @@ -1,4 +1,4 @@ -## common/zeroconf/client_zeroconf.py +## common/zeroconf/client_zeroconf.py ## ## Copyright (C) 2006 Stefan Bethge ## 2006 Dimitur Kirov @@ -58,9 +58,9 @@ class ZeroconfListener(IdleObject): self.caller = conn_holder.caller self.conn_holder = conn_holder - def bind(self): - flags = socket.AI_PASSIVE - if hasattr(socket, 'AI_ADDRCONFIG'): + def bind(self): + flags = socket.AI_PASSIVE + if hasattr(socket, 'AI_ADDRCONFIG'): flags |= socket.AI_ADDRCONFIG ai = socket.getaddrinfo(None, self.port, socket.AF_UNSPEC, socket.SOCK_STREAM, 0, flags)[0]