From 3decb01165ea5537b3ed8c857be1c37056c363d5 Mon Sep 17 00:00:00 2001 From: Davte Date: Fri, 12 Jul 2019 14:14:12 +0200 Subject: [PATCH] Dummy coroutine --- davtelepot/utilities.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/davtelepot/utilities.py b/davtelepot/utilities.py index 5acab3e..5eacf35 100644 --- a/davtelepot/utilities.py +++ b/davtelepot/utilities.py @@ -1518,3 +1518,8 @@ def make_inline_query_answer(answer): if type(answer) is dict: answer = [answer] return answer + + +async def dummy_coroutine(*args, **kwargs): + """Accept everthing as argument and do nothing.""" + return