Give an empty name to a group if it hasn’t got one
This commit is contained in:
parent
84887d17af
commit
e2a62bbbe7
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ class RosterGroup(object):
|
||||||
if not contacts:
|
if not contacts:
|
||||||
contacts = []
|
contacts = []
|
||||||
self.contacts = set(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
|
self.folded = folded # if the group content is to be shown
|
||||||
|
|
||||||
def __iter__(self):
|
def __iter__(self):
|
||||||
|
|
Loading…
Reference in a new issue