fix: 修复 xslx 提交数字类型报错

pull/6124/head
ibuler 2021-05-17 14:35:04 +08:00 committed by 老广
parent 8b951ce12c
commit 726fd94f65
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ class BaseFileParser(BaseParser):
@staticmethod @staticmethod
def _replace_chinese_quote(s): def _replace_chinese_quote(s):
if not isinstance(s, str):
return s
trans_table = str.maketrans({ trans_table = str.maketrans({
'': '"', '': '"',
'': '"', '': '"',