From 83fc278b750c877b471e4193b9bd2308cb35471d Mon Sep 17 00:00:00 2001 From: maziggy Date: Wed, 10 Dec 2025 10:02:11 +0000 Subject: [PATCH] Fixed bug where not all AMS spools were synced to Spoolman --- backend/app/services/spoolman.py | 4 ++-- frontend/index.html | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/backend/app/services/spoolman.py b/backend/app/services/spoolman.py index a675fc858..88d4e3460 100644 --- a/backend/app/services/spoolman.py +++ b/backend/app/services/spoolman.py @@ -439,9 +439,9 @@ class SpoolmanClient: if not tray_type or tray_type.strip() == "": return None - # Also need valid color to create filament (000000FF = unset/empty) + # Need valid color to create filament tray_color = tray_data.get("tray_color", "") - if not tray_color or tray_color in ("", "000000FF", "00000000"): + if not tray_color or tray_color in ("", "00000000"): logger.debug(f"Skipping tray with invalid color: {tray_color}") return None diff --git a/frontend/index.html b/frontend/index.html index 73c6244c3..8727e069a 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -7,10 +7,9 @@ - -
+