Skip to content

Commit

Permalink
Fixed bug where newlines were stripped by accident by putting them ba…
Browse files Browse the repository at this point in the history
…ck in.
  • Loading branch information
lordofhyphens committed Apr 18, 2018
1 parent 18ad8ca commit 721b502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smoothie-stream.py
Expand Up @@ -53,7 +53,7 @@ def write_raw_sequence(tn, seq):
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")
Expand Down

0 comments on commit 721b502

Please sign in to comment.