specify ellipses continuation as a python string
This commit is contained in:
parent
4241071b7e
commit
157d1145ea
|
@ -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).')
|
||||
|
|
Loading…
Reference in New Issue