解决关键信息未找到时传None的问题
This commit is contained in:
@@ -7,6 +7,8 @@ from util import util
|
||||
|
||||
# 处理金额类数据
|
||||
def handle_decimal(string):
|
||||
if not string:
|
||||
return ""
|
||||
string = re.sub(r'[^0-9.]', '', string)
|
||||
if not string:
|
||||
return ""
|
||||
|
||||
Reference in New Issue
Block a user