-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
Under 10.x the Matrix Portal M4 device raises this error:
Traceback (most recent call last):
File "code.py", line 1, in <module>
File "adafruit_matrixportal/matrixportal.py", line 36, in <module>
File "adafruit_matrixportal/network.py", line 38, in <module>
File "adafruit_portalbase/wifi_esp32s2.py", line 25, in <module>
ImportError: no module named 'ssl'
because it gets misidentified as not a samd51. The value of os.uname().sysname
appears to have changed leading to the logic here
Adafruit_CircuitPython_MatrixPortal/adafruit_matrixportal/network.py
Lines 35 to 38 in f6678a7
if os.uname().sysname == "samd51": | |
from adafruit_portalbase.wifi_coprocessor import WiFi | |
else: | |
from adafruit_portalbase.wifi_esp32s2 import WiFi |
Metadata
Metadata
Assignees
Labels
No labels