fix ConnectionZeroconf initialization
This commit is contained in:
parent
86b39a72c6
commit
4671f62d2f
1 changed files with 1 additions and 2 deletions
|
@ -53,7 +53,6 @@ from connection_handlers_zeroconf import *
|
||||||
class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
|
class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
|
||||||
'''Connection class'''
|
'''Connection class'''
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
CommonConnection.__init__(self, name)
|
|
||||||
ConnectionHandlersZeroconf.__init__(self)
|
ConnectionHandlersZeroconf.__init__(self)
|
||||||
# system username
|
# system username
|
||||||
self.username = None
|
self.username = None
|
||||||
|
@ -64,7 +63,7 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
|
||||||
self.password = 'zeroconf'
|
self.password = 'zeroconf'
|
||||||
self.autoconnect = False
|
self.autoconnect = False
|
||||||
|
|
||||||
self.get_config_values_or_default()
|
CommonConnection.__init__(self, name)
|
||||||
|
|
||||||
def get_config_values_or_default(self):
|
def get_config_values_or_default(self):
|
||||||
''' get name, host, port from config, or
|
''' get name, host, port from config, or
|
||||||
|
|
Loading…
Add table
Reference in a new issue