fix: self._db did not exist, use self._store #93
Reference in New Issue
Block a user
No description provided.
Delete Branch "Pavulon87/KX-Bridge-Release:fix/db-not-exist"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
This PR fixes a reference to a non-existent database object when reading filament metadata from a G-code file.
The code was still using
self._db, which is no longer present. It has been replaced withself._store, matching the rest of the codebase and restoring the expected behavior.This is a small consistency fix with no functional changes beyond using the correct storage object.
Related Issue
N/A
Type
Tested with
Checklist
Merged, thanks @Pavulon87! Good catch — this dated back to an earlier fix of mine that introduced the
self._dbtypo; thetry/exceptaround it silently swallowed the resulting AttributeError so it never surfaced in testing.