From faa3b2226572111e2a6324aeed6fc50e80acef86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 10 Sep 2019 18:26:21 +0200 Subject: poezio/mam: add_messages_to_buffer returns a bool not None MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/mam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poezio/mam.py b/poezio/mam.py index 95fc6a5e..bff0d4f9 100644 --- a/poezio/mam.py +++ b/poezio/mam.py @@ -118,7 +118,7 @@ async def query( return results -async def add_messages_to_buffer(tab, top: bool, results, amount: int) -> None: +async def add_messages_to_buffer(tab, top: bool, results, amount: int) -> bool: """Prepends or appends messages to the tab text_buffer""" text_buffer = tab._text_buffer -- cgit v1.2.3