This commit is contained in:
Yann Leboulanger 2009-03-11 09:58:25 +00:00
parent cbef579dd8
commit 3eb203a504
1 changed files with 1 additions and 1 deletions

View File

@ -524,7 +524,7 @@ class PreferencesWindow:
def get_per_account_option(self, opt):
'''Return the value of the option opt if it's the same in all accounts
else returns "mixed"'''
if len(gajim.connections) = 0:
if len(gajim.connections) == 0:
# a non existant key return default value
return gajim.config.get_per('accounts', '__default__', opt)
val = None