Skip to content

Commit

Permalink
encrypt_type defaults to raw
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Sep 17, 2015
1 parent 49ac29a commit 23d92f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/echo/app.py
Expand Up @@ -29,7 +29,7 @@ def wechat():
signature = request.args.get('signature', '')
timestamp = request.args.get('timestamp', '')
nonce = request.args.get('nonce', '')
encrypt_type = request.args.get('encrypt_type', '')
encrypt_type = request.args.get('encrypt_type', 'raw')
msg_signature = request.args.get('msg_signature', '')
try:
check_signature(TOKEN, signature, timestamp, nonce)
Expand Down

0 comments on commit 23d92f4

Please sign in to comment.