Queer European MD passionate about IT
Browse Source

Dummy coroutine

Davte 5 years ago
parent
commit
3decb01165
1 changed files with 5 additions and 0 deletions
  1. 5 0
      davtelepot/utilities.py

+ 5 - 0
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