← back to Designer Wallcoverings
chore: refactor session migration scripts (qh-fabric simplify), session close
f1af873ae1ca5f302bf0b5cd110643eddcfc6423 · 2026-07-07 13:38:16 -0700 · Steve
Files touched
M scripts/qh-fabric-fix.py
Diff
commit f1af873ae1ca5f302bf0b5cd110643eddcfc6423
Author: Steve <steve@designerwallcoverings.com>
Date: Tue Jul 7 13:38:16 2026 -0700
chore: refactor session migration scripts (qh-fabric simplify), session close
---
scripts/qh-fabric-fix.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/qh-fabric-fix.py b/scripts/qh-fabric-fix.py
index 2c6fdd31..9d77dff1 100644
--- a/scripts/qh-fabric-fix.py
+++ b/scripts/qh-fabric-fix.py
@@ -74,7 +74,8 @@ for vendor in VENDORS:
for p in prods:
diff = {}
if p["productType"] != "Fabric": diff["productType"] = "Fabric"
- nt = fix_title(p["title"]); diff.update({} if p["title"]==nt else {"title":nt})
+ nt = fix_title(p["title"])
+ if p["title"] != nt: diff["title"] = nt
ng = fix_tags(p["tags"])
if sorted(p["tags"]) != sorted(ng): diff["tags"] = ng
nd = scrub_prose(p["descriptionHtml"])
← 5cc0714b auto-save: 2026-07-07T13:30:45 (15 files) — pending-approval
·
back to Designer Wallcoverings
·
chore: v1.1.10 -> v1.1.11 (session close) 68b03a86 →