Skip to content

Commit b91f50f

Browse files
Merge pull request #20 from tekktrik/main
Fix pylint issues
2 parents 9cc8f79 + 74839fe commit b91f50f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_lifx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def _parse_resp(response: Response) -> str:
6868
from the LIFX HTTP API.
6969
"""
7070
if response.status_code == 422:
71-
raise Exception(
71+
raise RuntimeError(
7272
"Error: light(s) could not be toggled: " + response["error"]
7373
)
7474
try:

0 commit comments

Comments
 (0)