HCoop
/
clinton
/
Smoothieware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
temperaturecontrol: allow setting background tool without activating
[clinton/Smoothieware.git]
/
smoothie-stream.py
diff --git
a/smoothie-stream.py
b/smoothie-stream.py
index
d46f133
..
c3b5017
100644
(file)
--- a/
smoothie-stream.py
+++ b/
smoothie-stream.py
@@
-53,7
+53,7
@@
for line in f:
line = re.sub("[ ]*;.*", '', line) # remove everything after ;
line = line.strip() #send only the bare necessity.
if len(line) > 0:
- tn.write(line)
+ tn.write(line
+ "\n"
)
linecnt+=1
rep= tn.read_eager()
okcnt += rep.count("ok")