diff options
author | mathieui <mathieui@mathieui.net> | 2012-08-31 23:06:46 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-08-31 23:06:46 +0200 |
commit | e2a62bbbe7bc89d64abfaafae91f0c79053692bf (patch) | |
tree | 19a56b7c1f37324efc8cba9bd97eb540ad4a2d3a /src | |
parent | 84887d17af1e445652074b5611df92799069f173 (diff) | |
download | poezio-e2a62bbbe7bc89d64abfaafae91f0c79053692bf.tar.gz poezio-e2a62bbbe7bc89d64abfaafae91f0c79053692bf.tar.bz2 poezio-e2a62bbbe7bc89d64abfaafae91f0c79053692bf.tar.xz poezio-e2a62bbbe7bc89d64abfaafae91f0c79053692bf.zip |
Give an empty name to a group if it hasn’t got one
Diffstat (limited to 'src')
-rw-r--r-- | src/roster.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |