diff --git a/src/common/zeroconf/client_zeroconf.py b/src/common/zeroconf/client_zeroconf.py index a5c0b955692f0959e2ff3f2e42883f15a57fa25d..d3871147a67280859c5603f4fc8db5bd3755ec9b 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 <stefan@lanpartei.de> ## 2006 Dimitur Kirov <dkirov@gmail.com> @@ -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]