summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/logger.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/logger.py b/poezio/logger.py
index a694d1d2..61ae8d54 100644
--- a/poezio/logger.py
+++ b/poezio/logger.py
@@ -245,9 +245,9 @@ class Logger(object):
if nick:
nick = '<' + nick + '>'
- fd.write(' '.join((prefix, str_time, nb_lines, nick, ' '+first_line, '\n')))
+ fd.write('%s %s %s %s  %s\n' % (prefix, str_time, nb_lines, nick, first_line))
else:
- fd.write(' '.join((prefix, str_time, nb_lines, first_line, '\n')))
+ fd.write('%s %s %s %s\n' % (prefix, str_time, nb_lines, first_line))
for line in lines:
fd.write(' %s\n' % line)
except: