Fix: mapping table null value change to 1st xpath value
This commit is contained in:
@@ -260,6 +260,8 @@ def get_data_from_json(file_number, oCC): # 从JSON返回元数据
|
|||||||
cc_vars = conf.cc_convert_vars().split(",")
|
cc_vars = conf.cc_convert_vars().split(",")
|
||||||
ccm = conf.cc_convert_mode()
|
ccm = conf.cc_convert_mode()
|
||||||
for cc in cc_vars:
|
for cc in cc_vars:
|
||||||
|
if json_data[cc] == "" or len(json_data[cc]) == 0:
|
||||||
|
continue
|
||||||
if cc == "actor":
|
if cc == "actor":
|
||||||
try:
|
try:
|
||||||
if ccm == 1:
|
if ccm == 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user