Fix: mapping table null value change to 1st xpath value

This commit is contained in:
unknown
2021-11-21 00:59:38 +08:00
parent e2600f75cd
commit 7d0bdb810d

View File

@@ -260,6 +260,8 @@ def get_data_from_json(file_number, oCC): # 从JSON返回元数据
cc_vars = conf.cc_convert_vars().split(",")
ccm = conf.cc_convert_mode()
for cc in cc_vars:
if json_data[cc] == "" or len(json_data[cc]) == 0:
continue
if cc == "actor":
try:
if ccm == 1: