summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2019-11-17 19:50:32 +0100
committermathieui <mathieui@mathieui.net>2020-05-09 19:46:17 +0200
commit525edff66fab42f472e392ff1b202a239bc3303f (patch)
tree31504f99806daad6be7212e372ed574b01060529
parent3d13d1d99494a5795ca516939d49c2ad2397e1a9 (diff)
downloadpoezio-525edff66fab42f472e392ff1b202a239bc3303f.tar.gz
poezio-525edff66fab42f472e392ff1b202a239bc3303f.tar.bz2
poezio-525edff66fab42f472e392ff1b202a239bc3303f.tar.xz
poezio-525edff66fab42f472e392ff1b202a239bc3303f.zip
Fix a bug when using /dump in xmltab
-rw-r--r--poezio/tabs/xmltab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/xmltab.py b/poezio/tabs/xmltab.py
index 85828602..2611d9d5 100644
--- a/poezio/tabs/xmltab.py
+++ b/poezio/tabs/xmltab.py
@@ -264,7 +264,7 @@ class XMLTab(Tab):
text = '\n'.join(
('%s %s %s' % (
msg.time.strftime('%H:%M:%S'),
- msg.nickname,
+ 'IN' if msg.incoming else 'OUT',
clean_text(msg.txt))
for msg in xml))
filename = os.path.expandvars(os.path.expanduser(args[0]))