From 4671f62d2fd7d54e9501ff5307a07847e976772d Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 18 Nov 2009 11:16:15 +0100 Subject: [PATCH] fix ConnectionZeroconf initialization --- src/common/zeroconf/connection_zeroconf.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/zeroconf/connection_zeroconf.py b/src/common/zeroconf/connection_zeroconf.py index 52876c8d6..e1cc30971 100644 --- a/src/common/zeroconf/connection_zeroconf.py +++ b/src/common/zeroconf/connection_zeroconf.py @@ -53,7 +53,6 @@ from connection_handlers_zeroconf import * class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf): '''Connection class''' def __init__(self, name): - CommonConnection.__init__(self, name) ConnectionHandlersZeroconf.__init__(self) # system username self.username = None @@ -64,7 +63,7 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf): self.password = 'zeroconf' self.autoconnect = False - self.get_config_values_or_default() + CommonConnection.__init__(self, name) def get_config_values_or_default(self): ''' get name, host, port from config, or