twitter: don't re-encode replyee name

this appears to have been whan was causing replying via twitter to fail.
let's test something while we're here:

fixes #2
This commit is contained in:
Brian S. Stephan 2016-01-17 11:36:10 -06:00
parent 164f2c61bf
commit 007f9bdbc7
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class Twitter(Plugin):
return self.bot.reply(event, "you do not have permission to send tweets.")
replyee_tweet = self.twit.show_status(id=status_id)
target = replyee_tweet['user']['screen_name'].encode('utf-8', 'ignore')
target = replyee_tweet['user']['screen_name']
try:
reptweet = "@{0:s}: {1:s}".format(target, tweet)