specify ellipses continuation as a python string

This commit is contained in:
Brian S. Stephan 2011-01-05 09:34:19 -06:00
parent 4241071b7e
commit 157d1145ea
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class Twitter(Module):
return self.reply(connection, replypath, 'Only admins can tweet.')
try:
if self.twit.PostUpdates(' '.join(whats[2:]), continuation=u'\u2026') is not None:
if self.twit.PostUpdates(' '.join(whats[2:]), continuation='\xe2\x80\xa6') is not None:
return self.reply(connection, replypath, 'Tweet(s) sent.')
else:
return self.reply(connection, replypath, 'Unknown error sending tweet(s).')