fix: Website item patch fixes

This commit is contained in:
Deepesh Garg
2021-09-09 09:47:18 +05:30
parent fea6291399
commit 70c5533646
3 changed files with 4 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ class WebsiteItem(WebsiteGenerator):
self.website_image = None
def make_thumbnail(self):
if frappe.flags.in_import:
if frappe.flags.in_import or frappe.flags.in_migrate:
return
"""Make a thumbnail of `website_image`"""