Merge pull request #95 from factormystic/patch-1

Update twitter.py
This commit is contained in:
Ryan Hitchman 2014-01-16 21:20:04 -08:00
commit 8c36586c2c
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ def twitter(inp, api_key=None):
except IndexError: except IndexError:
return 'error: not that many tweets found' 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"] screen_name = tweet["user"]["screen_name"]
time = tweet["created_at"] time = tweet["created_at"]