Update twitter.py
Replace newlines with space, looks nicer
This commit is contained in:
parent
ab88f2d50d
commit
47219617d7
|
@ -71,7 +71,7 @@ def twitter(inp, api_key=None):
|
|||
except IndexError:
|
||||
return 'error: not that many tweets found'
|
||||
|
||||
text = http.unescape(tweet["text"])
|
||||
text = http.unescape(tweet["text"]).replace('\n', ' ')
|
||||
screen_name = tweet["user"]["screen_name"]
|
||||
time = tweet["created_at"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue