mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 11:18:08 -06:00
Added a fix for composing tweets in the new way twitter provides them
This commit is contained in:
parent
bd2460e42b
commit
3a7c0c8f12
@ -56,7 +56,7 @@ def compose_tweet(tweet, db, relative_times):
|
||||
text = "%s" % (StripChars(tweet[value]))
|
||||
else:
|
||||
text = "RT @%s: %s" % (tweet["retweeted_status"]["user"]["screen_name"], StripChars(tweet[value]))
|
||||
if text[-1] in chars: text=text+"."
|
||||
# if text[-1] in chars: text=text+"."
|
||||
if tweet.has_key("message") == False:
|
||||
urls = utils.find_urls_in_text(text)
|
||||
for url in range(0, len(urls)):
|
||||
|
Loading…
Reference in New Issue
Block a user