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

pull/42/head
StarsL.cn 2 years ago
parent a5f7d56a16
commit 27e2edea87

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

Loading…
Cancel
Save