From 55b00d993a6706c31b9171e547c9d7ba3313ab39 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 24 Mar 2004 01:39:14 +0000 Subject: [PATCH] little bugfix : when we add an account, update self.connected in the Core --- core/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/core.py b/core/core.py index e71c8cd88..1c1433932 100644 --- a/core/core.py +++ b/core/core.py @@ -272,6 +272,8 @@ class GajimCore: string.join(accts) for a in accts: self.cfgParser.tab[a] = ev[2][1][a] + if not a in self.connected.keys(): + self.connected[a]= 0 else: self.cfgParser.tab[ev[2][0]] = ev[2][1] self.cfgParser.writeCfgFile()