Fix tstring assignment

This commit is contained in:
Klaus-Uwe Mitterer 2017-02-28 12:28:35 +01:00
parent fbbf1f9747
commit bf6907058a

View file

@ -43,7 +43,7 @@ for status in timeline:
for a in accounts:
two = twitools.twObject(ato=a[1], ase=a[2])
tstring += translate.Translator(to_lang=a[0]).translate(text)
tstring = translate.Translator(to_lang=a[0]).translate(text)
try:
two.tweet(tstring[:140])