Skip to content

Commit 74839fe

Browse files
committed
Linted per pre-commit
1 parent 9cc8f79 commit 74839fe

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)