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.')
|
return self.reply(connection, replypath, 'Only admins can tweet.')
|
||||||
|
|
||||||
try:
|
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.')
|
return self.reply(connection, replypath, 'Tweet(s) sent.')
|
||||||
else:
|
else:
|
||||||
return self.reply(connection, replypath, 'Unknown error sending tweet(s).')
|
return self.reply(connection, replypath, 'Unknown error sending tweet(s).')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user