Skip to content

Commit 6284a5d

Browse files
authored
Merge pull request pycom#442 from pycom/release_hotfix_for_PR441
Update _pybytes.py to correctly identify pymesh firmware builds
2 parents ee75967 + 6be7b17 commit 6284a5d

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)