Skip to content

Commit

Permalink
spoolman: add support for aditional headers
Browse files Browse the repository at this point in the history
Signed-off-by: Damian Łoboda <[email protected]>
  • Loading branch information
LobodPl committed Jun 17, 2024
1 parent 54b2e3e commit 20b1dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moonraker/components/spoolman.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
class SpoolManager:
def __init__(self, config: ConfigHelper):
self.server = config.get_server()
self.additional_headers = config.getdict("additional_headers", default={})
self.additional_headers: Dict[str, str] = config.getdict("additional_headers", default={})

Check warning on line 43 in moonraker/components/spoolman.py

View workflow job for this annotation

GitHub Actions / lint-python-code

line too long (98 > 88 characters)
self.eventloop = self.server.get_event_loop()
self._get_spoolman_urls(config)
self.sync_rate_seconds = config.getint("sync_rate", default=5, minval=1)
Expand Down

0 comments on commit 20b1dd2

Please sign in to comment.