文件名编码问题,导致数据文件夹里面数据采不走

日志报错:

未知错误:Traceback (most recent call last): File "/DTS/TransferSoft/producer.py", line 46, in Producer fileList, realSum, latestList = matchList(configDict[u"root_code"], configDict[u"source_dir"], business, configDict.get("CTCL", 0), configDict["mine_id"], configDict, pushSocket) File "/home/DTS/DTS_pyc/TransferSoft/DAM/filematch.py", line 33, in matchList File "/DTS/Python27/lib/python2.7/posixpath.py", line 71, in join path += '/' + b UnicodeDecodeError: 'ascii' codec can't decode byte 0xb2 in position 1: ordinal not in range(128)

替换新代码

DTS/TransferSoft/DAM/filematch.py

你可能感兴趣的:(文件名编码问题,导致数据文件夹里面数据采不走)