fix in patches
This commit is contained in:
parent
2ca18ff913
commit
f25822cd8d
@ -30,7 +30,8 @@ def execute():
|
|||||||
|
|
||||||
count = 1
|
count = 1
|
||||||
for d in records:
|
for d in records:
|
||||||
if cstr(d.description) == item_details.get(d.item_code).old_description:
|
if d.item_code and item_details.get(d.item_code) \
|
||||||
|
and cstr(d.description) == item_details.get(d.item_code).old_description:
|
||||||
image_url = item_details.get(d.item_code).image_url
|
image_url = item_details.get(d.item_code).image_url
|
||||||
desc = item_details.get(d.item_code).new_description
|
desc = item_details.get(d.item_code).new_description
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user