修复了导入时空字段处理的bug

pull/42/head
StarsL.cn 2022-08-08 17:02:02 +08:00
parent a5f7d56a16
commit 27e2edea87
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ def read_execl(file_contents,imptype):
nrow.append(str(i))
except:
j = i.strip()
j = '_' if j == '' else j
if i != row[5]:
j = re.sub('[[ \]`~!\\\#$^/&*=|"{}\':;?]','_',j)
nrow.append(j)