From e2a62bbbe7bc89d64abfaafae91f0c79053692bf Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 31 Aug 2012 23:06:46 +0200 Subject: =?UTF-8?q?Give=20an=20empty=20name=20to=20a=20group=20if=20it=20h?= =?UTF-8?q?asn=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(-) (limited to 'src/roster.py') 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): -- cgit v1.2.3