diff --git a/app/views.py b/app/views.py index 7140374..793e678 100644 --- a/app/views.py +++ b/app/views.py @@ -82,6 +82,8 @@ def api(): return jsonify({'captcha': 'pass'}) if hash_ != session.get('hash'): return jsonify({'captcha': 'ok'}) + if hash_ is None: + return jsonify({'captcha': 'ok'}) else: retdata = {} # tumblr单个视频解析