From e2a62bbbe7bc89d64abfaafae91f0c79053692bf Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 31 Aug 2012 23:06:46 +0200 Subject: [PATCH] =?UTF-8?q?Give=20an=20empty=20name=20to=20a=20group=20if?= =?UTF-8?q?=20it=20hasn=E2=80=99t=20got=20one?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/roster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/roster.py b/src/roster.py index 0c91b3fe..12c529ba 100644 --- a/src/roster.py +++ b/src/roster.py @@ -224,7 +224,7 @@ class RosterGroup(object): if not contacts: contacts = [] self.contacts = set(contacts) - self.name = name + self.name = name if name is not None else '' self.folded = folded # if the group content is to be shown def __iter__(self):