Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 6d01270

Browse files
authored
Merge pull request #442 from pycom/release_hotfix_for_PR441
Update _pybytes.py to correctly identify pymesh firmware builds
2 parents c4948da + 766b304 commit 6d01270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

esp32/frozen/Pybytes/_pybytes.py

+1-1
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)