diff options
author | mathieui <mathieui@mathieui.net> | 2019-09-28 18:35:23 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-05-09 19:46:17 +0200 |
commit | 80ce8453f50ccaad4d71fda8811ee33f5ffa3624 (patch) | |
tree | 6e4b7f86f97a82c5fd4cebc6a61349283dee2a36 /poezio/tabs/xmltab.py | |
parent | a5ef6ec9105f22d14b7d7ec3b634796fc3466e93 (diff) | |
download | poezio-80ce8453f50ccaad4d71fda8811ee33f5ffa3624.tar.gz poezio-80ce8453f50ccaad4d71fda8811ee33f5ffa3624.tar.bz2 poezio-80ce8453f50ccaad4d71fda8811ee33f5ffa3624.tar.xz poezio-80ce8453f50ccaad4d71fda8811ee33f5ffa3624.zip |
Rewrite part of the message handling/rendering
Diffstat (limited to 'poezio/tabs/xmltab.py')
-rw-r--r-- | poezio/tabs/xmltab.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/poezio/tabs/xmltab.py b/poezio/tabs/xmltab.py index c4a50df8..c73eddd0 100644 --- a/poezio/tabs/xmltab.py +++ b/poezio/tabs/xmltab.py @@ -262,7 +262,10 @@ class XMLTab(Tab): else: xml = self.core_buffer.messages[:] text = '\n'.join( - ('%s %s %s' % (msg.str_time, msg.nickname, clean_text(msg.txt)) + ('%s %s %s' % ( + msg.time.strftime('%H:%M:%S'), + msg.nickname, + clean_text(msg.txt)) for msg in xml)) filename = os.path.expandvars(os.path.expanduser(args[0])) try: |