Add mojo_weixin adapter

This commit is contained in:
Richard Chien
2017-02-15 18:07:36 +08:00
parent 3508db348d
commit 47921d50ee
7 changed files with 128 additions and 19 deletions

2
app.py
View File

@ -23,8 +23,6 @@ def _main(ctx_msg: dict):
if not adapter:
raise SkipException
ctx_msg = adapter.unitize_context(ctx_msg)
if ctx_msg.get('post_type') != 'message':
raise SkipException
if not apply_filters(ctx_msg):
raise SkipException
except SkipException: