fixed multiline tweet bug [issue #4]

This commit is contained in:
factormystic 2009-07-10 02:36:37 -04:00
parent 5d4c321169
commit 937851049e
1 changed files with 1 additions and 1 deletions

View File

@ -38,5 +38,5 @@ def twitter(input):
return "can't find that username"
tweet = tweet.find('status')
return unescape_xml(': '.join(tweet.find(x).text for x in
return unescape_xml(': '.join(tweet.find(x).text.replace('\n','') for x in
'created_at user/screen_name text'.split()))