Closed
Description
This seems to be a CircuitPython vs Standard Python difference which makes the changes in #46 not work on CircuitPython:
Traceback (most recent call last):
File "code.py", line 49, in <module>
File "/lib/adafruit_requests.py", line 351, in json
File "/lib/adafruit_requests.py", line 347, in json
File "/lib/adafruit_requests.py", line 75, in readinto
File "/lib/adafruit_requests.py", line 223, in _readinto
AttributeError: 'bytearray' object has no attribute 'split'
Desktop Python says:
>>> bytearray().split(b';')
[bytearray(b'')]
while CircuitPython says:
>>> bytearray().split(b';')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'bytearray' object has no attribute 'split'
Metadata
Metadata
Assignees
Labels
No labels