mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-19 07:33:18 +02:00
Fixed bug where not all AMS spools were synced to Spoolman
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
+1
-2
@@ -7,10 +7,9 @@
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/img/favicon-16x16.png" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/img/apple-touch-icon.png" />
|
||||
<script type="module" crossorigin src="/assets/index-DAltyj1x.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-BYZOEJWU.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user