From e429c258ca174ea287f03381a1fb4700a028084c Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Thu, 18 Sep 2008 23:19:55 +0200 Subject: [PATCH] Allow setting empty jabber server (2) fix #8354 completely --- src/sugar/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sugar/profile.py b/src/sugar/profile.py index fff6f4d4..730570c8 100644 --- a/src/sugar/profile.py +++ b/src/sugar/profile.py @@ -104,7 +104,7 @@ class Profile(object): _set_key(cp, 'Buddy', 'Color', self.color.to_string()) if self.backup1: _set_key(cp, 'Server', 'Backup1', self.backup1) - if self.jabber_server: + if self.jabber_server is not None: _set_key(cp, 'Jabber', 'Server', self.jabber_server) _set_key(cp, 'Date', 'Timezone', self.timezone)