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 17, 2024
1 parent 02a313b commit 7f624b2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions moonraker/components/spoolman.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ def _register_endpoints(self):
)

async def component_init(self) -> None:
self.spool_id = await self.database.get_item(
DB_NAMESPACE, ACTIVE_SPOOL_KEY, None
)
self.spool_id = 1
# self.spool_id = await self.database.get_item(
# DB_NAMESPACE, ACTIVE_SPOOL_KEY, None
# )
if self.spool_id is not None:
response = await self.http_client.get(
f"{self.spoolman_url}/v1/spool/{self.spool_id}",
Expand Down

0 comments on commit 7f624b2

Please sign in to comment.