diff --git a/src/tabbed_chat_window.py b/src/tabbed_chat_window.py index d52ce181e..fa15c7de9 100644 --- a/src/tabbed_chat_window.py +++ b/src/tabbed_chat_window.py @@ -761,7 +761,7 @@ timestamp, contact): nb, line = gajim.logger.read(jid, count - 1 - pos, count - pos) pos = pos + 1 - # line is [] if log file for jid is not a file (does not exist or dir) + # line is [] if log file for jid is not a file (does not exist or dir) if line == []: break @@ -773,8 +773,8 @@ timestamp, contact): # we don't want to display status lines, do we? continue - lines.append(line[0]) - size = size + 1 + lines.append(line[0]) + size = size + 1 if lines != []: lines.reverse()