fix: self._db did not exist, use self._store

This commit is contained in:
Pavulon87
2026-07-14 13:37:28 +02:00
committed by Your Name
parent f681246ae1
commit 9d5a9b1620

View File

@@ -3949,7 +3949,7 @@ class KobraXBridge:
# filter applies and empty/shifted slots are not mapped incorrectly.
gcode_filaments = None
try:
db_file = self._db.get_file_by_name(filename)
db_file = self._store.get_file_by_name(filename)
if db_file and db_file.get("gcode_filaments"):
gcode_filaments = json.loads(db_file["gcode_filaments"])
except Exception as e: