Skip to content

Commit bacfa8d

Browse files
authored
Update adafruit_requests.py
Change to be pythonic, per @tekktrik. Hope it's in the right place this time!
1 parent fbf6ea5 commit bacfa8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_requests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def _parse_headers(self) -> None:
359359
if title == "transfer-encoding":
360360
self._chunked = content.strip().lower() == "chunked"
361361
if title == "set-cookie" and title in self._headers:
362-
self._headers[title] = self._headers[title] + ", " + content
362+
self._headers[title] += ", " + content
363363
else:
364364
self._headers[title] = content
365365

0 commit comments

Comments
 (0)