if status is '', don't print it

This commit is contained in:
Yann Leboulanger 2006-03-12 21:17:26 +00:00
parent a6a72ccf8d
commit 46e637ad5d
1 changed files with 1 additions and 1 deletions

View File

@ -925,7 +925,7 @@ class ChatControl(ChatControlBase):
label_text = '<span %s>%s</span>%s' % \
(font_attrs, name, acct_info)
if status is not None:
if status:
label_text += '\n%s' % status
# setup the label that holds name and jid