diff --git a/src/common/zeroconf/client_zeroconf.py b/src/common/zeroconf/client_zeroconf.py
index 2599ca1411e53ac300039c288bc203c83b965cf9..ba94f696deef88d05113975866f5fcccb925447e 100644
--- a/src/common/zeroconf/client_zeroconf.py
+++ b/src/common/zeroconf/client_zeroconf.py
@@ -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])