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

Commit 766b304

Browse files
committed
Update _pybytes.py
Correctly identify pymesh firmware
1 parent c4948da commit 766b304

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)