From 379c2d4c8cf0d21a669edd18988fc874d47d072e Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Thu, 19 Mar 2015 15:40:36 +0100 Subject: [PATCH] Actually add spaces after words. ^^ --- transbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transbot.py b/transbot.py index 29d0ebf..bc06f1d 100644 --- a/transbot.py +++ b/transbot.py @@ -59,7 +59,7 @@ for status in timeline: curstr = "" for word in text.split(" "): - curstr += word + curstr += word + " " if word[-1] in "!?.": tstring += translate.Translator(to_lang=a[0]).translate(curstr) + " " curstr = ""