Queer European MD passionate about IT
Browse Source

Dummy coroutine

Davte 5 năm trước cách đây
mục cha
commit
3decb01165
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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