From 6d475875ff8d6f28470e05496199d3deba1a16e5 Mon Sep 17 00:00:00 2001 From: abelzhu Date: Mon, 18 Feb 2019 15:10:08 +0800 Subject: [PATCH] =?UTF-8?q?print=20=E5=A4=B1=E6=95=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- callback/WXBizMsgCrypt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/callback/WXBizMsgCrypt.py b/callback/WXBizMsgCrypt.py index 97e7a22..41e578f 100644 --- a/callback/WXBizMsgCrypt.py +++ b/callback/WXBizMsgCrypt.py @@ -17,7 +17,9 @@ from Crypto.Cipher import AES import xml.etree.cElementTree as ET import sys import socket +stdi,stdo,stde=sys.stdin,sys.stdout,sys.stderr reload(sys) +sys.stdin,sys.stdout,sys.stderr=stdi,stdo,stde import ierror sys.setdefaultencoding('utf-8')