From 9c8916d67c24ba7ec9a765816480a531a5900c00 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 19 Oct 2025 14:53:36 -0400 Subject: [PATCH] colorstyle --- app/api/services/web_contents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/services/web_contents.py b/app/api/services/web_contents.py index 265237d..e8a361b 100644 --- a/app/api/services/web_contents.py +++ b/app/api/services/web_contents.py @@ -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 != '':