fix traceback on startup. Fixes #5435

This commit is contained in:
Yann Leboulanger 2009-11-18 21:07:11 +01:00
parent 1b22a33239
commit c9c5f72ff9
1 changed files with 1 additions and 1 deletions

View File

@ -623,7 +623,7 @@ class Connection(CommonConnection, ConnectionHandlers):
self.secret_hmac = str(random.random())[2:]
# END __init__
def get_config_values_or_default():
def get_config_values_or_default(self):
if gajim.config.get_per('accounts', self.name, 'keep_alives_enabled'):
self.keepalives = gajim.config.get_per('accounts', self.name,
'keep_alive_every_foo_secs')