summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-10-14 19:19:38 +0200
committermathieui <mathieui@mathieui.net>2012-10-14 19:20:51 +0200
commitd0545fb02167a28db04ce229b6dfa2d7283edeac (patch)
tree05987d0b48dfbc38bcc3927d05cd7ea10ec1e77c /src/core.py
parentde1f812809b2f800e095f347ca947cd3e963f942 (diff)
downloadpoezio-d0545fb02167a28db04ce229b6dfa2d7283edeac.tar.gz
poezio-d0545fb02167a28db04ce229b6dfa2d7283edeac.tar.bz2
poezio-d0545fb02167a28db04ce229b6dfa2d7283edeac.tar.xz
poezio-d0545fb02167a28db04ce229b6dfa2d7283edeac.zip
Do not display "None" in the /self command
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index c27412a2..7b152549 100644
--- a/src/core.py
+++ b/src/core.py
@@ -2280,7 +2280,7 @@ class Core(object):
jid = self.xmpp.boundjid.full
info = 'Your JID is %s\nYour current status is "%s" (%s)\nYour default nickname is %s' % (
jid,
- message,
+ message if message else '',
show if show else 'available',
nick)
self.information(info, 'Info')