Skip to content

Commit 4071657

Browse files
authored
Changed variable name
1 parent adbaa34 commit 4071657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_lifx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ def _parse_resp(response):
7979
try:
8080
for res in response.json()["results"]:
8181
return res["status"]
82-
except KeyError as e:
83-
raise KeyError(response.json()["error"]) from e
82+
except KeyError as err:
83+
raise KeyError(response.json()["error"]) from err
8484

8585
# HTTP Requests
8686
def _post(self, path, data):

0 commit comments

Comments
 (0)