Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Clon1998 committed Apr 22, 2024
1 parent 5bc4b7d commit 2048da4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions moonraker/components/spoolman.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,13 @@ async def _proxy_spoolman_request(self, web_request: WebRequest):
}
}
else:

return {
"response": response.json(),
"response_headers": {header: value for header, value in response.headers.items() if header.lower().startswith('x-')},
"response_headers": {
header: value

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

View workflow job for this annotation

GitHub Actions / lint-python-code

trailing whitespace
for header, value in response.headers.items()

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

View workflow job for this annotation

GitHub Actions / lint-python-code

trailing whitespace
if header.lower().startswith('x-')
},
"error": None
}

Expand Down

0 comments on commit 2048da4

Please sign in to comment.