Remove ".." from the incoming status text, which might be mistaken for a badly formatted date

This commit is contained in:
Klaus-Uwe Mitterer 2015-03-19 20:44:07 +01:00
parent d61e9f98ce
commit a3470f8e8c

View file

@ -31,7 +31,7 @@ while True:
timeline = tweepy.Cursor(api.search, q=search, since_id=savepoint).items()
for status in timeline:
text = status.text.decode("UTF-8")
text = status.text.encode("UTF-8").replace("..","")
sender = status.user.screen_name.encode("UTF-8")
twid = int(status.id)
comment = ""