Skip to content

Commit 6be7b17

Browse files
committed
Update _pybytes.py
Correctly identify pymesh firmware
1 parent ee75967 commit 6be7b17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp32/frozen/Pybytes/_pybytes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def connect(self):
274274

275275
# CHECK PYMESH FIRMWARE VERSION
276276
try:
277-
if os.uname().pymesh:
277+
if hasattr(os.uname(),'pymesh'):
278278
try:
279279
from pybytes_pymesh_config import PybytesPymeshConfig
280280
except:

0 commit comments

Comments
 (0)