colorstyle

This commit is contained in:
CHIEFSOFT\ameye
2025-10-19 14:53:36 -04:00
parent 33dc63331c
commit 9c8916d67c
+1 -1
View File
@@ -60,7 +60,7 @@ class WebContentsService(BaseService):
"added": membersSubResult.added,
}
if membersSubResult.colorstyle !='':
if membersSubResult.colorstyle is not None and membersSubResult.colorstyle !='':
# is this a valid olor scheme
colorStyle = ProductsColorStyle.get_colorstyle_by_product_id_and_uid(membersSubResult.product_id, membersSubResult.colorstyle)
if colorStyle and colorStyle.color_style != '':