projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed client error when GOODFET was undefined.
[goodfet]
/
client
/
GoodFET.py
diff --git
a/client/GoodFET.py
b/client/GoodFET.py
index
b335b4d
..
5a7ab02
100755
(executable)
--- a/
client/GoodFET.py
+++ b/
client/GoodFET.py
@@
-17,7
+17,7
@@
class GoodFET:
def serInit(self, port=None):
"""Open the serial port"""
- if port is None:
+ if port is None
and os.environ.get("GOODFET")!=None
:
glob_list = glob.glob(os.environ.get("GOODFET"));
if len(glob_list) > 0:
port = glob_list[0];