Twitter: show full tweet when printing a reply-tweet
This commit is contained in:
parent
61ceef6a88
commit
d6561bf221
@ -251,7 +251,8 @@ class Twitter(Module):
|
||||
target = replyee_tweet.user.screen_name.encode('utf-8', 'ignore')
|
||||
|
||||
try:
|
||||
if self.twit.PostUpdate("@"+target+": "+tweet, in_reply_to_status_id=status_id) is not None:
|
||||
reptweet = "@{0:s}: {1:s}".format(target, tweet)
|
||||
if self.twit.PostUpdate(reptweet, in_reply_to_status_id=status_id) is not None:
|
||||
return "'{0:s}' tweeted.".format(tweet)
|
||||
else:
|
||||
return "Unknown error sending tweet."
|
||||
|
Loading…
Reference in New Issue
Block a user