diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-12-09 13:56:14 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2012-01-26 10:05:33 +0100 |
commit | cf1cdd18342f115ebd7caea4ee34862bcce52551 (patch) | |
tree | a190b90ddf882b5dee38178249eb0b6908ff6f4c /src/tabs.py | |
parent | 5fe3c49d407ac77b1e8280e1148d82d0fc1b0bc3 (diff) | |
download | poezio-cf1cdd18342f115ebd7caea4ee34862bcce52551.tar.gz poezio-cf1cdd18342f115ebd7caea4ee34862bcce52551.tar.bz2 poezio-cf1cdd18342f115ebd7caea4ee34862bcce52551.tar.xz poezio-cf1cdd18342f115ebd7caea4ee34862bcce52551.zip |
Fix sorting columns when a room has no name. (we use '' instead of None)
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py index 37dd7a1a..dc7aa22d 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -2354,7 +2354,7 @@ class MucListTab(Tab): return items = [{'node-part': JID(item[0]).user if JID(item[0]).server == self.name else JID(item[0]).bare, 'jid': item[0], - 'name': item[2],'users': ''} for item in iq['disco_items'].get_items()] + 'name': item[2] or '' ,'users': ''} for item in iq['disco_items'].get_items()] self.listview.add_lines(items) self.upper_message.set_message('Chatroom list on server %s' % self.name) self.upper_message.refresh() |