diff --git a/src/gajim.py b/src/gajim.py index d0529cb24..5c44048de 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -383,7 +383,7 @@ class Interface: gajim.config.add_per('accounts', name) for opt in array[1]: gajim.config.set_per('accounts', name, opt, array[1][opt]) - if self.windows['account_modification']: + if self.windows.has_key('account_modification'): self.windows['account_modification'].account_is_ok(array[0]) self.windows[name] = {'infos': {}, 'chats': {}, 'gc': {}, 'gc_config': {}} self.queues[name] = {}