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 21, 2024
1 parent 9af83ca commit b485d26
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions moonraker/components/spoolman.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ def _get_website_urls(self, config: ConfigHelper):
raise config.error(
f"Section [spoolman], Option website: {orig_website_url}: Invalid URL format"

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

View workflow job for this annotation

GitHub Actions / lint-python-code

line too long (93 > 88 characters)
)
website_scheme = website_url_match["scheme"] or "http"
website_host = website_url_match["host"].rstrip("/")
self.website_url = f"{website_scheme}://{website_host}/spool"
self.website = f"{website_scheme}://{website_host}/spool"

def _register_notifications(self):
self.server.register_notification("spoolman:active_spool_set")
Expand Down

0 comments on commit b485d26

Please sign in to comment.