Fix a bug when using /dump in xmltab

This commit is contained in:
mathieui 2019-11-17 19:50:32 +01:00
parent 3d13d1d994
commit 525edff66f

View file

@ -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]))