mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 03:39:11 +00:00
[fixes]
This commit is contained in:
@@ -9,6 +9,6 @@ def execute():
|
||||
try:
|
||||
item_doc.make_thumbnail()
|
||||
if item_doc.thumbnail:
|
||||
item_doc.db_set("thumbnail", item_doc.thumbnail)
|
||||
item_doc.db_set("thumbnail", item_doc.thumbnail, update_modified=False)
|
||||
except Exception:
|
||||
print "Unable to make thumbnail for {0}".format(item.website_image)
|
||||
|
||||
Reference in New Issue
Block a user