Fix typo
This commit is contained in:
parent
d01c6581dc
commit
c643308ec7
1 changed files with 2 additions and 2 deletions
|
@ -61,11 +61,11 @@ for status in timeline:
|
|||
for word in text.split(" "):
|
||||
curstr += word
|
||||
if word[-1] in "!?.":
|
||||
tstring += translate.Translator(to_lang=a[0]).translate(curstr)) + " "
|
||||
tstring += translate.Translator(to_lang=a[0]).translate(curstr) + " "
|
||||
curstr = ""
|
||||
|
||||
if curstr != "":
|
||||
tstring += translate.Translator(to_lang=a[0]).translate(curstr))
|
||||
tstring += translate.Translator(to_lang=a[0]).translate(curstr)
|
||||
|
||||
try:
|
||||
api.update_status(tstring.encode('utf-8')[:140])
|
||||
|
|
Loading…
Reference in a new issue