Give an empty name to a group if it hasn’t got one

This commit is contained in:
mathieui 2012-08-31 23:06:46 +02:00
parent 84887d17af
commit e2a62bbbe7

View file

@ -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):