mirror of https://github.com/jumpserver/jumpserver
fix: 修复 xslx 提交数字类型报错
parent
8b951ce12c
commit
726fd94f65
|
@ -57,6 +57,8 @@ class BaseFileParser(BaseParser):
|
|||
|
||||
@staticmethod
|
||||
def _replace_chinese_quote(s):
|
||||
if not isinstance(s, str):
|
||||
return s
|
||||
trans_table = str.maketrans({
|
||||
'“': '"',
|
||||
'”': '"',
|
||||
|
|
Loading…
Reference in New Issue