diff --git a/autocshell.py b/autocshell.py index 80e56b1..722a9a6 100644 --- a/autocshell.py +++ b/autocshell.py @@ -151,7 +151,7 @@ def Checkdisk(path): # send data stdoutput = stdoutput+"\n"+os.getcwd()+">" - stdoutput = stdoutput.decode('gbk').encode('utf-8') + stdoutput = stdoutput.decode('gbk', 'ignore').encode('utf-8') Send(s, stdoutput) # loop ends here