Revert back some code linked with uploading to Leonardo/Due

This commit is contained in:
Ivan Kravets
2016-06-03 00:42:52 +03:00
parent a9c02c9cbc
commit 882bddf77e
5 changed files with 13 additions and 6 deletions

View File

@@ -325,7 +325,7 @@ def get_serialports(use_grep=False):
result.append({"port": p, "description": d, "hwid": h})
# fix for PySerial
if not result and not use_grep:
if not result and not use_grep and system() == "Darwin":
result = _grep_serial_ports()
return result