Queer European MD passionate about IT
浏览代码

Dummy coroutine

Davte 5 年之前
父节点
当前提交
3decb01165
共有 1 个文件被更改,包括 5 次插入0 次删除
  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