summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2012-04-07 02:42:18 +0200
committerFlorian Bruhin <me@the-compiler.org>2012-04-07 02:42:18 +0200
commitdb0ab2165ecace0201a41f98223d7bd8d56c4878 (patch)
treeea78c6ef7d72b0cd79ab61dbb41b6a4e51f53275
parent500249f33f690d2b30d74b7c9267864b58e75325 (diff)
downloadschreimaschine-db0ab2165ecace0201a41f98223d7bd8d56c4878.tar.gz
schreimaschine-db0ab2165ecace0201a41f98223d7bd8d56c4878.zip
Whoops, empty line at the wrong place
-rw-r--r--src/tweetwriter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tweetwriter.py b/src/tweetwriter.py
index 37a3984..89b03a1 100644
--- a/src/tweetwriter.py
+++ b/src/tweetwriter.py
@@ -530,6 +530,7 @@ def output(data):
encode(user), encode(text))
print("[SCR] " + output)
printser(serout)
+ ser.write("\n".encode('ASCII')) # empty line
print()
(lastservice, lastuser, lasttext) = (service, user, text)
#print('------------------')
@@ -571,7 +572,6 @@ def printser(line):
elif (c != 'S' and c != 'C'):
sleep(config["other"]["chardelay"])
- ser.write("\n".encode('ASCII')) # empty line
def parseopts():