colorstyle
This commit is contained in:
@@ -60,7 +60,7 @@ class WebContentsService(BaseService):
|
|||||||
"added": membersSubResult.added,
|
"added": membersSubResult.added,
|
||||||
}
|
}
|
||||||
|
|
||||||
if membersSubResult.colorstyle !='':
|
if membersSubResult.colorstyle is not None and membersSubResult.colorstyle !='':
|
||||||
# is this a valid olor scheme
|
# is this a valid olor scheme
|
||||||
colorStyle = ProductsColorStyle.get_colorstyle_by_product_id_and_uid(membersSubResult.product_id, membersSubResult.colorstyle)
|
colorStyle = ProductsColorStyle.get_colorstyle_by_product_id_and_uid(membersSubResult.product_id, membersSubResult.colorstyle)
|
||||||
if colorStyle and colorStyle.color_style != '':
|
if colorStyle and colorStyle.color_style != '':
|
||||||
|
|||||||
Reference in New Issue
Block a user