Remove ".." from the incoming status text, which might be mistaken for a badly formatted date
This commit is contained in:
parent
d61e9f98ce
commit
a3470f8e8c
1 changed files with 1 additions and 1 deletions
|
@ -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 = ""
|
||||
|
|
Loading…
Reference in a new issue