summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2012-04-07 02:38:27 +0200
committerFlorian Bruhin <me@the-compiler.org>2012-04-07 02:38:27 +0200
commit500249f33f690d2b30d74b7c9267864b58e75325 (patch)
tree47aadce968554791b65ecab49f3e56da0ca90a60
parent00a039c856023532d079483a83269b3b2fdcbdea (diff)
downloadschreimaschine-500249f33f690d2b30d74b7c9267864b58e75325.tar.gz
schreimaschine-500249f33f690d2b30d74b7c9267864b58e75325.zip
Print an empty line after each message
-rw-r--r--src/tweetwriter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tweetwriter.py b/src/tweetwriter.py
index 605cb7b..37a3984 100644
--- a/src/tweetwriter.py
+++ b/src/tweetwriter.py
@@ -571,6 +571,9 @@ def printser(line):
elif (c != 'S' and c != 'C'):
sleep(config["other"]["chardelay"])
+ ser.write("\n".encode('ASCII')) # empty line
+
+
def parseopts():
""" Parse command-line options """
# assuming loglevel is bound to the string value obtained from the