mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-29 22:23:12 -06:00
Twishort retweets are displayed as espected
This commit is contained in:
parent
3623eafacd
commit
a3c050195a
@ -60,6 +60,8 @@ def compose_tweet(tweet, db, relative_times):
|
|||||||
try:
|
try:
|
||||||
oldtext=text
|
oldtext=text
|
||||||
text=twishort.get_full_text(tweet['long_uri'])
|
text=twishort.get_full_text(tweet['long_uri'])
|
||||||
|
try: text = "rt @%s: %s" % (tweet["retweeted_status"]["user"]["screen_name"], StripChars(text))
|
||||||
|
except KeyError: pass
|
||||||
except:
|
except:
|
||||||
text=oldtext
|
text=oldtext
|
||||||
tweet["text"] = text
|
tweet["text"] = text
|
||||||
|
Loading…
Reference in New Issue
Block a user