projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allows for explicit port naming on NT.
[goodfet]
/
client
/
GoodFET.py
diff --git
a/client/GoodFET.py
b/client/GoodFET.py
index
b37b319
..
0d32cca
100755
(executable)
--- a/
client/GoodFET.py
+++ b/
client/GoodFET.py
@@
-94,7
+94,7
@@
class GoodFET:
glob_list = glob.glob("/dev/ttyU0");
if len(glob_list) > 0:
port = glob_list[0];
- if os.name=='nt':
+ if
port is None and
os.name=='nt':
from scanwin32 import winScan;
scan=winScan();
for order,comport,desc,hwid in sorted(scan.comports()):