Skip to content

Commit

Permalink
Update spoolman.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeanon committed Jan 15, 2024
1 parent 758b7ff commit 52d1d2b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions moonraker/components/spoolman.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,9 @@ def _register_endpoints(self):
)

async def component_init(self) -> None:
self.spoolman = 1
# self.spool_id = await self.database.get_item(
# DB_NAMESPACE, ACTIVE_SPOOL_KEY, None
# )
self.spool_id = await self.database.get_item(
DB_NAMESPACE, ACTIVE_SPOOL_KEY, None
)

async def _handle_server_ready(self):
result = await self.klippy_apis.subscribe_objects(
Expand Down

0 comments on commit 52d1d2b

Please sign in to comment.