This commit is contained in:
wanlop run 2023-10-14 09:25:17 +07:00
parent e4ca4f3450
commit 8ef2d249cb
2 changed files with 5266 additions and 140 deletions

View file

@ -1,5 +1,5 @@
if False:
print("params=" + param) print("params=" + param)
print( "dir= " + directory_to_process + "/page_catalog_group_recommend.lxml"); print( "dir= " + directory_to_process + "/page_catalog_group_recommend.lxml");
file_xml = open(directory_to_process + "/page_catalog_group_recommend.lxml", 'r') file_xml = open(directory_to_process + "/page_catalog_group_recommend.lxml", 'r')
@ -15,7 +15,7 @@ file_xml.close()
file_inc2 = open(directory_to_process + "/event/promotion_template1.inc", 'r') file_inc2 = open(directory_to_process + "/event/promotion_template1.inc", 'r')
file_inc2_content = file_inc2.read() file_inc2_content = file_inc2.read()
file_inc_img = open(directory_to_process + "../image/event/image_template1", 'r') file_inc_img = open(directory_to_process + "/../image/event/image_template1", 'r')
file_inc2_img_content = file_inc_img.read() file_inc2_img_content = file_inc_img.read()
# replace key. # replace key.
@ -66,7 +66,7 @@ file_xml3.close()
file_inc2 = open(directory_to_process + "/event/promotion_template2.inc", 'r') file_inc2 = open(directory_to_process + "/event/promotion_template2.inc", 'r')
file_inc2_content = file_inc2.read() file_inc2_content = file_inc2.read()
file_inc_img = open(directory_to_process + "../image/event/image_template2", 'r') file_inc_img = open(directory_to_process + "/../image/event/image_template2", 'r')
file_inc2_img_content = file_inc_img.read() file_inc2_img_content = file_inc_img.read()
# replace key. # replace key.
@ -116,7 +116,7 @@ file_xml3.close()
file_inc3 = open(directory_to_process + "/event/promotion_template3.inc", 'r') file_inc3 = open(directory_to_process + "/event/promotion_template3.inc", 'r')
file_inc3_content = file_inc3.read() file_inc3_content = file_inc3.read()
file_inc_img = open(directory_to_process + "../image/event/image_template3", 'r') file_inc_img = open(directory_to_process + "/../image/event/image_template3", 'r')
file_inc3_img_content = file_inc_img.read() file_inc3_img_content = file_inc_img.read()
# replace key. # replace key.

File diff suppressed because it is too large Load diff