From b01c7965519dadb5e0c566db3da340648276744b Mon Sep 17 00:00:00 2001 From: Madhur Garg Date: Wed, 21 Aug 2019 03:06:41 +0530 Subject: Corrected indentation and coding style. --- poezio/text_buffer.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'poezio/text_buffer.py') diff --git a/poezio/text_buffer.py b/poezio/text_buffer.py index 64bc17f6..3d1f8266 100644 --- a/poezio/text_buffer.py +++ b/poezio/text_buffer.py @@ -169,12 +169,12 @@ class TextBuffer: nick_size = config.get('max_nick_length') for window in self._windows: # make the associated windows # build the lines from the new message - if top == True: + if top: nb = window.build_message_at_the_top( - msg, - history=history, - timestamp=show_timestamps, - nick_size=nick_size) + msg, + history=history, + timestamp=show_timestamps, + nick_size=nick_size) if ret_val == 0: ret_val = nb if window.pos != 0: -- cgit v1.2.3