summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2012-04-07 02:49:59 +0200
committerFlorian Bruhin <me@the-compiler.org>2012-04-07 02:49:59 +0200
commitfe6f4db47e824170670f6e0f73f0c744a3244c3a (patch)
tree7d5c223277d55615738b649b41b54c019e1cd6e4
parent50ef5465bbee29f040959499a95892b15c2dacd1 (diff)
downloadschreimaschine-fe6f4db47e824170670f6e0f73f0c744a3244c3a.tar.gz
schreimaschine-fe6f4db47e824170670f6e0f73f0c744a3244c3a.zip
Indent subsequent lines a bit
-rw-r--r--src/tweetwriter.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tweetwriter.py b/src/tweetwriter.py
index 7779fcf..1a15ca6 100644
--- a/src/tweetwriter.py
+++ b/src/tweetwriter.py
@@ -566,7 +566,8 @@ def printser(line):
if (i == 65):
ser.write("\n".encode('ASCII'))
sleep(config["other"]["newlinedelay_long"])
- i = 0
+ ser.write(" ".encode('ASCII'))
+ i = 2
if (c == ' '):
sleep(config["other"]["chardelay"]*0.5)
elif (c != 'S' and c != 'C'):