Commit 7ae4bb25 authored by zhanglu's avatar zhanglu

NoneType

parent 600da6e3
......@@ -93,7 +93,7 @@ class Sensitive(object):
if not data or "detail" in data: # 程序出错啦
return
action = data["result"]["action"]
action = data.get("result", {}).get("action", 0)
if action == 0 or action == 1: # "通过"
return []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment