Queer European MD passionate about IT
Explorar el Código

Dummy coroutine

Davte hace 5 años
padre
commit
3decb01165
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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