Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tangrela committed Feb 2, 2018
1 parent 250604d commit 7a8368c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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单个视频解析
Expand Down

0 comments on commit 7a8368c

Please sign in to comment.