From 46e637ad5d573032344307efa4e8a03858552a91 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 12 Mar 2006 21:17:26 +0000 Subject: [PATCH] if status is '', don't print it --- src/chat_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat_control.py b/src/chat_control.py index 3804db5d7..0038f2b7f 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -925,7 +925,7 @@ class ChatControl(ChatControlBase): label_text = '%s%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